Map a public-key type NID to its base algorithm type NID.
Declared in <openssl/evp.h>
int
EVP_PKEY_type(int type);
Base type NID (for example EVP_PKEY_RSA), or NID_undef if unknown.
| Name | Description |
|---|---|
| type | Key type NID (possibly an alias such as EVP_PKEY_RSA2). |