[#EVP_PKEY_CTX_set1_rsa_keygen_pubexp] = EVP_PKEY_CTX_set1_rsa_keygen_pubexp :mrdocs: Set the RSA public exponent for key generation, copying `pubexp.` == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set1_rsa_keygen_pubexp( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, xref:BIGNUM.adoc[BIGNUM]* pubexp); ---- == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Keygen context for an RSA algorithm. | *pubexp* | Public exponent to copy (typically an odd integer such as 65537); caller retains ownership. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#