shishi_der_msgtype(3) API function

SYNOPSIS

#include <shishi.h>

Shishi_msgtype shishi_der_msgtype(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

Determine msg-type of DER coded data of a packet.

RETURN VALUE

Returns msg-type of DER data, 0 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.