1gnutls_x509_crt_get_signature_oid(3)gnutlsgnutls_x509_crt_get_signature_oid(3)
2
3
4
6 gnutls_x509_crt_get_signature_oid - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_signature_oid(gnutls_x509_crt_t cert, char *
12 oid, size_t * oid_size);
13
15 gnutls_x509_crt_t cert
16 should contain a gnutls_x509_crt_t type
17
18 char * oid a pointer to a buffer to hold the OID (may be null)
19
20 size_t * oid_size
21 initially holds the size of oid
22
24 This function will return the OID of the signature algorithm that has
25 been used to sign this certificate. This is function is useful in the
26 case gnutls_x509_crt_get_signature_algorithm() returned GNUTLS_SIGN_UN‐
27 KNOWN.
28
30 zero or a negative error code on error.
31
33 3.5.0
34
36 Report bugs to <bugs@gnutls.org>.
37 Home page: https://www.gnutls.org
38
39
41 Copyright © 2001- Free Software Foundation, Inc., and others.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright no‐
44 tice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
49 visit
50
51 https://www.gnutls.org/manual/
52
53gnutls 3.7.6gnutls_x509_crt_get_signature_oid(3)