[gnutls-devel] Guile-GnuTLS | Bindings for gnutls_x509_crt_get_dn_by_oid and gnutls_x509_crt_get_issuer_dn_by_oid ? (#30)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Feb 27 17:49:34 CET 2025



Dariqq created an issue: https://gitlab.com/gnutls/guile/-/issues/30



Hello,

Currently i am facing the problem that I'd like to get only the CN part of a certificate's issuer/subject without having to parse a full DN manually. 

The functions `x509-certificate-dn` and `x509-certificate-issuer-dn` already exist, but they return the full DN.
 
There are `x509-certificate-dn-oid` and `x509-certificate-issuer-dn-oid` which return the OID at an index but not the content.

There is also `set-x509-certificate-dn-by-oid!`, to set! a value by OID but not a way to get a value by OID, which seems a bit weird.
Thanks.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/30
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/20250227/fd375483/attachment.html>


More information about the Gnutls-devel mailing list