Map a public‐key type NID to its base algorithm type NID.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_type(int type);

Return Value

Base type NID (for example EVP_PKEY_RSA), or NID_undef if unknown.

Parameters

Name

Description

type

Key type NID (possibly an alias such as EVP_PKEY_RSA2).

Created with MrDocs