Export the raw public key bytes of pkey into pub.
Synopsis
Declared in <openssl/evp.h>
int
EVP_PKEY_get_raw_public_key(
EVP_PKEY const* pkey,
unsigned char* pub,
size_t* len);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
pkey |
Key whose public material is exported (algorithm‐dependent format). |
pub |
Output buffer, or NULL to only query the required length via |
len |
On entry, capacity of |
Created with MrDocs