1gnutls_x509_crt_get_subject_unique_idg(n3ug)tnlustls_x509_crt_get_subject_unique_id(3)
2
3
4

NAME

6       gnutls_x509_crt_get_subject_unique_id - API function
7

SYNOPSIS

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 * buf_size);
13

ARGUMENTS

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 * buf_size
21                   size of user allocated memory buffer (on input), will  hold
22                   actual size of the unique ID on return.
23

DESCRIPTION

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 buf_size will be set to the actual length.
31

RETURNS

33       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
34

REPORTING BUGS

36       Report bugs to <bugs@gnutls.org>.
37       Home page: http://www.gnutls.org
38
39
41       Copyright © 2001-2014 Free Software Foundation, Inc..
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

SEE ALSO

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       http://www.gnutls.org/manual/
52
53gnutls                              3.3g.n2u9tls_x509_crt_get_subject_unique_id(3)
Impressum