1gnutls_x509_crt_get_issuer_unique_id(g3n)utglnsutls_x509_crt_get_issuer_unique_id(3)
2
3
4

NAME

6       gnutls_x509_crt_get_issuer_unique_id - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_crt_get_issuer_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 issuerUniqueID 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
32       This function had a bug prior to 3.4.8 that prevented  the  setting  of
33       NULL   buf to discover the  buf_size . To use this function safely with
34       the older versions the  buf must be a valid buffer  that  can  hold  at
35       least a single byte if  buf_size is zero.
36

RETURNS

38       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
39

SINCE

41       2.12.0
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: https://www.gnutls.org
46
47
49       Copyright © 2001- Free Software Foundation, Inc., and others.
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium without royalty provided the copyright  no‐
52       tice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       https://www.gnutls.org/manual/
60
61gnutls                               3.7g.n2utls_x509_crt_get_issuer_unique_id(3)
Impressum