Set the RSA key referenced by an EVP_PKEY, incrementing the RSA reference count (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
int
EVP_PKEY_set1_RSA(
EVP_PKEY* pkey,
rsa_st* key);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| pkey | Destination EVP_PKEY to assign. |
| key | RSA key to associate; its reference count is incremented. |