Decode cipher AlgorithmIdentifier parameters from type into cipher context c.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_asn1_to_param(
    EVP_CIPHER_CTX* c,
    ASN1_TYPE* type);

Return Value

1 on success, or 0/‐1 on failure (for example if the cipher lacks ASN.1 support).

Parameters

Name

Description

c

Cipher context that receives parameters (typically including the IV).

type

ASN.1 type holding the AlgorithmIdentifier parameters.

Created with MrDocs