shishi_authenticator_subkey(3) API function

SYNOPSIS

#include <shishi.h>

Shishi_asn1 shishi_authenticator_subkey(Shishi * handle);

ARGUMENTS

Shishi * handle
shishi handle as allocated by shishi_init().

DESCRIPTION

This function creates a new Authenticator, populated with some default values. It uses the current time as returned by the system for the ctime and cusec fields. It adds a random subkey.

RETURN VALUE

Returns the authenticator 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.