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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 20 13:52:48 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/pcert.c:

> + * @format: The format of the raw public-key. DER or PEM.
> + * @key_usage: An ORed sequence of %GNUTLS_KEY_* flags.
> + * @flags: zero for now
> + *
> + * This convenience function will import (i.e. convert) the given raw
> + * public key @rawpubkey into a #gnutls_pcert_st structure. The structure
> + * must be deinitialized afterwards using gnutls_pcert_deinit();
> + *
> + * Key usage (as defined by X.509 extension (2.5.29.15)) can be explicitly
> + * set because there is no certificate structure around the key to define
> + * this value. See for more info gnutls_x509_crt_get_key_usage().
> + *
> + * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
> + *   negative error value.
> + *
> + * Since: 3.6.4

The version is wrong

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_118714468
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/20181120/ba638406/attachment-0001.html>


More information about the Gnutls-devel mailing list