shishi_apreq_add_authenticator3
Api function
Usage
#include <shishi.h>
int shishi_apreq_add_authenticator(Shishi * handle, Shishi_asn1 apreq, Shishi_key * key, int keyusage, Shishi_asn1 authenticator);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 apreq
|
AP-REQ to add authenticator field to. |
Shishi_key * key
|
key to to use for encryption. |
int keyusage
|
cryptographic key usage value to use in encryption. |
Shishi_asn1 authenticator
|
authenticator as allocated by |
Overview
Encrypts DER encoded authenticator using key and store it in the AP-REQ.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.