silc_pkcs_public_key_encode
SYNOPSIS
unsigned char *silc_pkcs_public_key_encode(SilcStack stack, SilcPublicKey public_key, SilcUInt32 *ret_len);
DESCRIPTION
Encodes the `public_key' into a binary format and returns it. Returns NULL on error. Caller must free the returned buffer.
If the `stack' is non-NULL the returned buffer is allocated from the `stack'. This call will consume `stack' so caller should push the stack before calling and then later pop it.