Set the RSA public exponent used when generating a key (deprecated).
Synopsis
Declared in <openssl/rsa.h>
[[deprecated]]
int
EVP_PKEY_CTX_set_rsa_keygen_pubexp(
EVP_PKEY_CTX* ctx,
BIGNUM* pubexp);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success, or a non‐positive value on failure.
Parameters
Name |
Description |
ctx |
Keygen EVP_PKEY_CTX for an RSA algorithm. |
pubexp |
Public exponent to use; ownership is not transferred (use EVP_PKEY_CTX_set1_rsa_keygen_pubexp instead). |
Created with MrDocs