EVP_PKEY_asn1_add0

Register an EVP_PKEY_ASN1_METHOD in the global ASN.1 method table.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_asn1_add0(EVP_PKEY_ASN1_METHOD const* ameth);

Return Value

1 on success, or 0 on failure (for example duplicate id).

Parameters

NameDescription
amethASN.1 method to add; ownership is transferred on success.