1gnutls_pkcs11_get_raw_issuer(3)     gnutls     gnutls_pkcs11_get_raw_issuer(3)
2
3
4

NAME

6       gnutls_pkcs11_get_raw_issuer - API function
7

SYNOPSIS

9       #include <gnutls/pkcs11.h>
10
11       int  gnutls_pkcs11_get_raw_issuer(const  char  * url, gnutls_x509_crt_t
12       cert, gnutls_datum_t * issuer, gnutls_x509_crt_fmt_t fmt, unsigned  int
13       flags);
14

ARGUMENTS

16       const char * url
17                   A PKCS 11 url identifying a token
18
19       gnutls_x509_crt_t cert
20                   is the certificate to find issuer for
21
22       gnutls_datum_t * issuer
23                   Will hold the issuer if any in an allocated buffer.
24
25       gnutls_x509_crt_fmt_t fmt
26                   The format of the exported issuer.
27
28       unsigned int flags
29                   Use zero or flags from GNUTLS_PKCS11_OBJ_FLAG.
30

DESCRIPTION

32       This  function  will return the issuer of a given certificate, if it is
33       stored in the token. By default only  marked  as  trusted  issuers  are
34       returned.    If    any    issuer    should    be    returned    specify
35       GNUTLS_PKCS11_OBJ_FLAG_RETRIEVE_ANY in  flags .
36

RETURNS

38       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
39       error value.
40

SINCE

42       3.2.7
43

REPORTING BUGS

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

SEE ALSO

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