Blame doc/functions/gnutls_pkcs11_copy_attached_extension
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs11_copy_attached_extension} (const char * @var{token_url}, gnutls_x509_crt_t @var{crt}, gnutls_datum_t * @var{data}, const char * @var{label}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{token_url}: A PKCS @code{11} URL specifying a token
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{crt}: An X.509 certificate object
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{data}: the attached extension
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{label}: A name to be used for the attached extension (may be @code{NULL} )
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: One of GNUTLS_PKCS11_OBJ_FLAG_*
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will copy an the attached extension in @code{data} for
|
|
Packit Service |
4684c1 |
the certificate provided in @code{crt} in the PKCS @code{11} token specified
|
|
Packit Service |
4684c1 |
by the URL (typically a trust module). The extension must be in
|
|
Packit Service |
4684c1 |
RFC5280 Extension format.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.3.8
|
|
Packit Service |
4684c1 |
@end deftypefun
|