shishi_der2asn1(3) API function

SYNOPSIS

#include <shishi.h>

Shishi_asn1 shishi_der2asn1(Shishi * handle, const char * der, size_t derlen);

ARGUMENTS

Shishi * handle
shishi handle as allocated by shishi_init().
const char * der
input character array with DER encoding.
size_t derlen
length of input character array with DER encoding.

DESCRIPTION

Convert arbitrary DER data of a packet to a ASN.1 type.

RETURN VALUE

Returns newly allocate ASN.1 corresponding to DER data, or NULL on failure.

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.