Associate an ENGINE with an EVP_PKEY for subsequent low‐level operations (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_PKEY_set1_engine(
    EVP_PKEY* pkey,
    ENGINE* e);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

pkey

Key whose ENGINE reference is set.

e

ENGINE to attach, or NULL to clear.

Created with MrDocs