1gnutls_pkcs11_get_raw_issuer_by_dn(3)gnutlsgnutls_pkcs11_get_raw_issuer_by_dn(3)
2
3
4

NAME

6       gnutls_pkcs11_get_raw_issuer_by_dn - API function
7

SYNOPSIS

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

ARGUMENTS

16       const char * url
17                   A PKCS 11 url identifying a token
18
19       const gnutls_datum_t * dn
20                   is the DN to search 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 certificate with the given DN, if it is
33       stored in the token. By default only marked as trusted issuers are  re‐
34       turned.     If     any    issuer    should    be    returned    specify
35       GNUTLS_PKCS11_OBJ_FLAG_RETRIEVE_ANY in  flags .
36
37       The name of the function includes issuer because it can be used to dis‐
38       cover issuers of certificates.
39

RETURNS

41       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
42       ror value.
43

SINCE

45       3.4.0
46

REPORTING BUGS

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

SEE ALSO

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