1gnutls_x509_crt_get_subject_key_id(3)gnutlsgnutls_x509_crt_get_subject_key_id(3)
2
3
4

NAME

6       gnutls_x509_crt_get_subject_key_id - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_crt_get_subject_key_id(gnutls_x509_crt_t  cert, void *
12       ret, size_t * ret_size, unsigned int * critical);
13

ARGUMENTS

15       gnutls_x509_crt_t cert
16                   should contain a gnutls_x509_crt_t type
17
18       void * ret  The place where the identifier will be copied
19
20       size_t * ret_size
21                   Holds the size of the result field.
22
23       unsigned int * critical
24                   will be non-zero if the extension  is  marked  as  critical
25                   (may be null)
26

DESCRIPTION

28       This function will return the X.509v3 certificate's subject key identi‐
29       fier.  This is obtained by the X.509 Subject Key  identifier  extension
30       field (2.5.29.14).
31

RETURNS

33       On       success,      GNUTLS_E_SUCCESS      (0)      is      returned,
34       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the extension is not  present,
35       otherwise a negative error value.
36

REPORTING BUGS

38       Report bugs to <bugs@gnutls.org>.
39       Home page: https://www.gnutls.org
40
41
43       Copyright © 2001-2020 Free Software Foundation, Inc., and others.
44       Copying  and  distribution  of this file, with or without modification,
45       are permitted in any medium  without  royalty  provided  the  copyright
46       notice and this notice are preserved.
47

SEE ALSO

49       The  full  documentation  for gnutls is maintained as a Texinfo manual.
50       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
51       visit
52
53       https://www.gnutls.org/manual/
54
55gnutls                              3.6.13gnutls_x509_crt_get_subject_key_id(3)
Impressum