Assign a low‐level key object of type to an EVP_PKEY (deprecated).
Synopsis
Declared in <openssl/evp.h>
[[deprecated]]
int
EVP_PKEY_assign(
EVP_PKEY* pkey,
int type,
void* key);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
pkey |
Destination key wrapper; previous key material is freed. |
type |
Key type NID such as EVP_PKEY_RSA or EVP_PKEY_EC. |
key |
Type‐specific key pointer (for example RSA *) that |
Created with MrDocs