EVP_CIPHER_get_type

Return the OBJECT IDENTIFIER NID of a cipher (ignoring parameters).

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_get_type(EVP_CIPHER const* cipher);

Return Value

Cipher OID NID, or NID_undef if the cipher has no ASN.1 support.

Parameters

NameDescription
cipherCipher method to query.