[gnutls-devel] GnuTLS | Certificate parsing differences (#1613)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Dec 10 09:53:47 CET 2024




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1613#note_2250251887


This is not a bug. Parsing of certificate extensions is done in multiple steps: first import the certificate from data with gnutls_x509_crt_import, then retrieve extension data with gnutls_x509_crt_get_extension_data2, and finally decode it with gnutls_x509_ext_import_* functions. In this specific case, you would just need to call gnutls_x509_ext_import_authority_key_id after parsing the certificate data.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1613#note_2250251887
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/20241210/378a4470/attachment-0001.html>


More information about the Gnutls-devel mailing list