shishi_authenticator_authorizationdata3
Api function
Usage
#include <shishi.h>
int shishi_authenticator_authorizationdata(Shishi * handle, Shishi_asn1 authenticator, int32_t * adtype, char ** addata, size_t * addatalen, size_t nth);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 authenticator
|
authenticator as allocated by |
int32_t * adtype
|
output authorization data type. |
char ** addata
|
newly allocated output authorization data. |
size_t * addatalen
|
on output, actual size of newly allocated authorization data. |
size_t nth
|
element number of authorization-data to extract. |
Extract N
th authorization data from authenticator. The first field is 1.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.