Set the callback that exports cipher parameters into an ASN.1 type (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_get_asn1_params(
    EVP_CIPHER* cipher,
    int(* get_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

Custom cipher method to update.

get_asn1_parameters

Callback that fills an ASN1_TYPE from the cipher context, or NULL.

Created with MrDocs