Allocate a key context for algorithm id, optionally using an ENGINE.

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY_CTX*
EVP_PKEY_CTX_new_id(
    int id,
    ENGINE* e);

Return Value

New EVP_PKEY_CTX, or NULL on failure.

Parameters

Name

Description

id

Algorithm identifier such as EVP_PKEY_RSA.

e

ENGINE implementing the algorithm, or NULL for the default implementation.

Created with MrDocs