shishi_as_req_der_set(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_as_req_der_set(Shishi_as * as, char * der, size_t derlen);

ARGUMENTS

Shishi_as * as
structure that holds information about AS exchange
char * der
input array with DER encoded AP-REQ.
size_t derlen
length of input array with DER encoded AP-REQ.

DESCRIPTION

DER decode AS-REQ and set it AS exchange. If decoding fails, the AS-REQ in the AS exchange remains.

RETURN VALUE

Returns SHISHI_OK.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.