Copy algorithm parameters from one EVP_PKEY into another of the same type.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_copy_parameters(
    EVP_PKEY* to,
    EVP_PKEY const* from);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

to

Destination key that receives the parameters.

from

Source key whose parameters are copied.

Created with MrDocs