Blame doc/functions/gnutls_pkcs11_token_check_mechanism
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {unsigned} {gnutls_pkcs11_token_check_mechanism} (const char * @var{url}, unsigned long @var{mechanism}, void * @var{ptr}, unsigned @var{psize}, unsigned @var{flags})
|
|
Packit Service |
4684c1 |
@var{url}: should contain a PKCS 11 URL
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{mechanism}: The PKCS @code{11} mechanism ID
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{ptr}: if set it should point to a CK_MECHANISM_INFO struct
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{psize}: the size of CK_MECHANISM_INFO struct (for safety)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: must be zero
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return whether a mechanism is supported
|
|
Packit Service |
4684c1 |
by the given token. If the mechanism is supported and
|
|
Packit Service |
4684c1 |
@code{ptr} is set, it will be updated with the token information.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} Non-zero if the mechanism is supported or zero otherwise.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.6.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|