[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 15:52:11 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/cert-cred-rawpk.c:

> + * If there is no key with the given index,
> + * %GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned. If the public key
> + * with the given index is not a raw public key, %GNUTLS_E_INVALID_REQUEST
> + * is returned.
> + *
> + * Returns: %GNUTLS_E_SUCCESS (0) on success, or a negative error code.
> + *
> + * Since: 3.6.5
> + */
> +int
> +gnutls_certificate_get_rawpk_keypair(gnutls_certificate_credentials_t cred,
> +				unsigned index,
> +				gnutls_pubkey_t* subject_public_key_info,
> +				gnutls_privkey_t* privkey)
> +{
> +	// Check whether the request is in range of what we have stored

unnecessary comment

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_120445924
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181127/e05cdc3e/attachment-0001.html>


More information about the Gnutls-devel mailing list