1gnutls_x509_crt_get_authority_key_id(g3n)utglnsutls_x509_crt_get_authority_key_id(3)
2
3
4

NAME

6       gnutls_x509_crt_get_authority_key_id - API function
7

SYNOPSIS

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

ARGUMENTS

15       gnutls_x509_crt_t cert
16                   should contain a gnutls_x509_crt_t structure
17
18       void * id   The place where the identifier will be copied
19
20       size_t * id_size
21                   Holds the size of the id 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 authority's key iden‐
29       tifier.  This is obtained by the X.509 Authority Key identifier  exten‐
30       sion  field (2.5.29.35). Note that this function only returns the keyI‐
31       dentifier field of the extension  and  GNUTLS_E_X509_UNSUPPORTED_EXTEN‐
32       SION,  if the extension contains the name and serial number of the cer‐
33       tificate. In  that  case  gnutls_x509_crt_get_authority_key_gn_serial()
34       may be used.
35

RETURNS

37       On       success,      GNUTLS_E_SUCCESS      (0)      is      returned,
38       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the extension is not  present,
39       otherwise a negative error value.
40

REPORTING BUGS

42       Report bugs to <bugs@gnutls.org>.
43       Home page: http://www.gnutls.org
44
45
47       Copyright © 2001-2014 Free Software Foundation, Inc..
48       Copying  and  distribution  of this file, with or without modification,
49       are permitted in any medium  without  royalty  provided  the  copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The  full  documentation  for gnutls is maintained as a Texinfo manual.
54       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
55       visit
56
57       http://www.gnutls.org/manual/
58
59gnutls                              3.3.g2n9utls_x509_crt_get_authority_key_id(3)
Impressum