1gnutls_x509_crt_get_subject_unique_idg(n3ug)tnlustls_x509_crt_get_subject_unique_id(3)
2
3
4
6 gnutls_x509_crt_get_subject_unique_id - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_subject_unique_id(gnutls_x509_crt_t crt, char *
12 buf, size_t * sizeof_buf);
13
15 gnutls_x509_crt_t crt
16 Holds the certificate
17
18 char * buf user allocated memory buffer, will hold the unique id
19
20 size_t * sizeof_buf
21 size of user allocated memory buffer (on input), will hold
22 actual size of the unique ID on return.
23
25 This function will extract the subjectUniqueID value (if present) for
26 the given certificate.
27
28 If the user allocated memory buffer is not large enough to hold the
29 full subjectUniqueID, then a GNUTLS_E_SHORT_MEMORY_BUFFER error will be
30 returned, and sizeof_buf will be set to the actual length.
31
33 GNUTLS_E_SUCCESS on success, otherwise an error.
34
36 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
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 info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.12g.n6u.t1ls_x509_crt_get_subject_unique_id(3)