shishi_ap_rep_verify_der3
Api function
Usage
#include <shishi.h>
int shishi_ap_rep_verify_der(Shishi_ap * ap, char * der, size_t derlen);
Arguments
Shishi_ap * ap
|
structure that holds information about AP exchange |
|---|---|
char * der
|
input array with DER encoded AP-REP. |
size_t derlen
|
length of input array with DER encoded AP-REP. |
Overview
DER decode AP-REP and set it in AP exchange using shishi_ap_rep_der_set() and verify it using shishi_ap_rep_verify().
Return value
Returns SHISHI_OK, SHISHI_APREP_VERIFY_FAILED or an error.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.