Function silc_pkcs_public_key_alloc
SYNOPSIS
SilcPublicKey silc_pkcs_public_key_alloc(const char *name,
const char *identifier,
const unsigned char *pk,
SilcUInt32 pk_len);
DESCRIPTION
Allocates SILC style public key formed from sent arguments. The
'name' is the algorithm (PKCS) name, the 'identifier' is the public
key identifier generated with silc_pkcs_encode_identifier, and the
'pk' and 'pk_len' are the raw public key data returned for example
by silc_pkcs_get_public_key.
|