shishi_ap_rep_der3
Api function
Usage
#include <shishi.h>
int shishi_ap_rep_der(Shishi_ap * ap, char ** out, size_t * outlen);
Arguments
Shishi_ap * ap
|
structure that holds information about AP exchange |
|---|---|
char ** out
|
output array with newly allocated DER encoding of AP-REP. |
size_t * outlen
|
length of output array with DER encoding of AP-REP. |
Overview
Build AP-REP using shishi_ap_rep_build() and DER encode it. out is allocated by this function, and it is the responsibility of caller to deallocate it.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.