silc_pkcs_private_key_alloc
SYNOPSIS
SilcBool silc_pkcs_private_key_alloc(SilcPKCSType type, unsigned char *key, SilcUInt32 key_len, SilcPrivateKey *ret_private_key);
DESCRIPTION
Allocates SilcPrivateKey of the type of `type' from the key data `key' of length of `key_len' bytes. Returns FALSE if the `key' is malformed or unsupported private key type.
Usually this function is not needed. Typical application calls silc_pkcs_load_private_key instead.