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 - This function returns the certifi‐
7       cate's key identifier
8

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

34       On success, GNUTLS_E_SUCCESS is returned, otherwise  a  negative  error
35       value.and a negative value in case of an error.
36

REPORTING BUGS

38       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
39       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
40       http://www.gnu.org/gethelp/
41
43       Copyright © 2008 Free Software Foundation.
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 info and gnutls programs are properly installed  at  your  site,
51       the command
52
53              info gnutls
54
55       should give you access to the complete manual.
56
57
58
59gnutls                               2.8.6gnutls_x509_crt_get_subject_key_id(3)
Impressum