Set the RSA public exponent for key generation, copying pubexp.
Synopsis
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_set1_rsa_keygen_pubexp(
EVP_PKEY_CTX* ctx,
BIGNUM* pubexp);
Return Value
1 on success, or a non‐positive value on failure.
Parameters
Name |
Description |
ctx |
Keygen context for an RSA algorithm. |
pubexp |
Public exponent to copy (typically an odd integer such as 65537); caller retains ownership. |
Created with MrDocs