1gnutls_x509_crq_get_signature_oid(3)gnutlsgnutls_x509_crq_get_signature_oid(3)
2
3
4
6 gnutls_x509_crq_get_signature_oid - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crq_get_signature_oid(gnutls_x509_crq_t crq, char *
12 oid, size_t * oid_size);
13
15 gnutls_x509_crq_t crq
16 should contain a gnutls_x509_crq_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 request. This function is useful in
26 the case gnutls_x509_crq_get_signature_algorithm() returned
27 GNUTLS_SIGN_UNKNOWN.
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
44 notice 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.6.15gnutls_x509_crq_get_signature_oid(3)