shishi_as_rep_der_set(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_as_rep_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-REP.
size_t derlen
length of input array with DER encoded AP-REP.

DESCRIPTION

DER decode AS-REP and set it AS exchange. If decoding fails, the AS-REP 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.