1gnutls_x509_aki_set_cert_issuer(3)  gnutls  gnutls_x509_aki_set_cert_issuer(3)
2
3
4

NAME

6       gnutls_x509_aki_set_cert_issuer - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int gnutls_x509_aki_set_cert_issuer(gnutls_x509_aki_t aki, unsigned int
12       san_type, const gnutls_datum_t * san, const char * othername_oid, const
13       gnutls_datum_t * serial);
14

ARGUMENTS

16       gnutls_x509_aki_t aki
17                   The authority key ID
18
19       unsigned int san_type
20                   the  type  of the name (of gnutls_subject_alt_names_t), may
21                   be null
22
23       const gnutls_datum_t * san
24                   The alternative name data
25
26       const char * othername_oid
27                   The object identifier if  san_type is GNUTLS_SAN_OTHERNAME
28
29       const gnutls_datum_t * serial
30                   The authorityCertSerialNumber number (may be null)
31

DESCRIPTION

33       This function will set the authorityCertIssuer name and the authorityC‐
34       ertSerialNumber  to  be  stored in the  aki type. When storing multiple
35       names, the serial should be set on the first call, and subsequent calls
36       should use a NULL serial.
37
38       Since  version 3.5.7 the GNUTLS_SAN_RFC822NAME, GNUTLS_SAN_DNSNAME, and
39       GNUTLS_SAN_OTHERNAME_XMPP are converted to ACE format when necessary.
40

RETURNS

42       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
43       error value.
44

SINCE

46       3.3.0
47

REPORTING BUGS

49       Report bugs to <bugs@gnutls.org>.
50       Home page: http://www.gnutls.org
51
52
54       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
55       Copying  and  distribution  of this file, with or without modification,
56       are permitted in any medium  without  royalty  provided  the  copyright
57       notice and this notice are preserved.
58

SEE ALSO

60       The  full  documentation  for gnutls is maintained as a Texinfo manual.
61       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
62       visit
63
64       http://www.gnutls.org/manual/
65
66gnutls                               3.6.5  gnutls_x509_aki_set_cert_issuer(3)
Impressum