More x509-certificate-functions

Fixes: #30

includes bindings to:

  • gnutls_x509_crt_get_dn_by_oid and gnutls_x509_crt_get_issuer_dn_by_oid : I chose to always set the raw_flag to 0 to get a string back.
  • gnutls_x509_crt_get_signature
  • gnutls_x509_crt_print: not sure how to test this? I added the oneline output of the test certificate, is this reliable?
  • gnutls_x509_crt_verify: Here I am the most unsure. Is my schemified name ok? How to handle multiple signers? If no flags what should be used for the c_flags?
Edited by Dariqq

Merge request reports

Loading