Raw generated components, which must be subsequently validated by the private key constructor.
| 15 | |
| 16 | /// Raw generated components, which must be subsequently validated by the private key constructor. |
| 17 | pub struct RsaPrivateKeyComponents { |
| 18 | pub n: Odd<BoxedUint>, |
| 19 | pub e: BoxedUint, |
| 20 | pub d: BoxedUint, |
| 21 | pub primes: Vec<BoxedUint>, |
| 22 | } |
| 23 | |
| 24 | /// Generates a multi-prime RSA keypair of the given bit size, public exponent, |
| 25 | /// and the given random source, as suggested in [1]. Although the public |
nothing calls this directly
no outgoing calls
no test coverage detected