[#RSA_X931_generate_key_ex] = RSA_X931_generate_key_ex :mrdocs: Generate an RSA key pair using the X9.31 prime‐generation method (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_X931_generate_key_ex( xref:RSA.adoc[RSA]* rsa, int bits, xref:BIGNUM.adoc[BIGNUM] const* e, xref:BN_GENCB.adoc[BN_GENCB]* cb); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *rsa* | Destination RSA object to populate. | *bits* | Desired modulus size in bits. | *e* | Public exponent. | *cb* | Optional BN_GENCB progress callback, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#