EVP_CIPHER_meth_get_set_asn1_params

Return the set_asn1_params callback previously set on a custom EVP_CIPHER method.

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int(*
EVP_CIPHER_meth_get_set_asn1_params(EVP_CIPHER const* cipher))(EVP_CIPHER_CTX*, ASN1_TYPE*);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Function that writes AlgorithmIdentifier parameters from EVP_CIPHER_CTX into an ASN1_TYPE, or NULL if unset.

Parameters

NameDescription
cipherCipher method to query.