Set the callback that exports cipher parameters into an ASN.1 type (deprecated).
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*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| cipher | Custom cipher method to update. |
| get_asn1_parameters | Callback that fills an ASN1_TYPE from the cipher context, or NULL. |