Export selected key parameters from an EVP_PKEY via a callback.
Synopsis
Declared in <openssl/evp.h>
int
EVP_PKEY_export(
EVP_PKEY const* pkey,
int selection,
OSSL_CALLBACK* export_cb,
void* export_cbarg);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
pkey |
Provider‐backed key to export. |
selection |
OSSL_KEYMGMT_SELECT_* mask describing which parts to export. |
export_cb |
Callback invoked with a temporary OSSL_PARAM array (not valid after return). |
export_cbarg |
Application argument passed to |
Created with MrDocs