Blame doc/functions/gnutls_pkcs11_get_raw_issuer
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_pkcs11_get_raw_issuer} (const char * @var{url}, gnutls_x509_crt_t @var{cert}, gnutls_datum_t * @var{issuer}, gnutls_x509_crt_fmt_t @var{fmt}, unsigned int @var{flags})
|
|
Packit |
aea12f |
@var{url}: A PKCS 11 url identifying a token
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{cert}: is the certificate to find issuer for
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{issuer}: Will hold the issuer if any in an allocated buffer.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{fmt}: The format of the exported issuer.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{flags}: Use zero or flags from @code{GNUTLS_PKCS11_OBJ_FLAG} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will return the issuer of a given certificate, if it
|
|
Packit |
aea12f |
is stored in the token. By default only marked as trusted issuers
|
|
Packit |
aea12f |
are returned. If any issuer should be returned specify
|
|
Packit |
aea12f |
@code{GNUTLS_PKCS11_OBJ_FLAG_RETRIEVE_ANY} in @code{flags} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit |
aea12f |
negative error value.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.2.7
|
|
Packit |
aea12f |
@end deftypefun
|