Return the numeric type identifier of a public‐key object.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_get_id(EVP_PKEY const* pkey);

Return Value

Type constant such as EVP_PKEY_RSA, or EVP_PKEY_NONE if unset.

Parameters

Name

Description

pkey

Key whose type NID (or EVP_PKEY_NONE) is reported.

Created with MrDocs