Set the ASN.1 parameter-encoding callback on a custom EVP_CIPHER method (deprecated).
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*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| cipher | Cipher method under construction. |
| set_asn1_parameters | Callback that writes algorithm parameters from ctx into an ASN1_TYPE. |