Set the ASN.1 parameter‐encoding callback on a custom EVP_CIPHER method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_set_asn1_params(
    EVP_CIPHER* cipher,
    int(* set_asn1_parameters)(EVP_CIPHER_CTX*, ASN1_TYPE*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

cipher

Cipher method under construction.

set_asn1_parameters

Callback that writes algorithm parameters from ctx into an ASN1_TYPE.

Created with MrDocs