[gnutls-devel] [PATCH 3/9] Add API to retrieve a X.509 or OpenPGP certificate from a gnutls_pcert_t

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Sep 22 09:03:51 CEST 2014


On Wed, Sep 17, 2014 at 6:26 PM, Armin Burgmeier <armin at arbur.net> wrote:
>  /**
> + * gnutls_pcert_get_type:
> + * @pcert: The pcert structure.
> + *
> + * Returns the certificate type of @pcert, one of X.509 or OpenPGP.
> + *
> + * Returns: The certificate type.
> + *
> + * Since: 3.4.0
> + */
> +gnutls_certificate_type_t
> +gnutls_pcert_get_type(gnutls_pcert_st * pcert)

Is this function necessary? As the structure is exported I'm wondering
about the value of it...



More information about the Gnutls-devel mailing list