Set the new key pair used in certificate‐request templates.
Synopsis
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set0_newPkey(
OSSL_CMP_CTX* ctx,
int priv,
EVP_PKEY* pkey);
Return Value
1 on success, 0 on error.
Parameters
Name |
Description |
ctx |
CMP context. |
priv |
Non‐zero to store the private key, zero for the public key only. |
pkey |
Key to install; ownership transfers to the context. |
Created with MrDocs