MCPcopy Create free account
hub / github.com/RustCrypto/RSA / RsaPrivateKeyComponents

Class RsaPrivateKeyComponents

src/algorithms/generate.rs:17–22  ·  view source on GitHub ↗

Raw generated components, which must be subsequently validated by the private key constructor.

Source from the content-addressed store, hash-verified

15
16/// Raw generated components, which must be subsequently validated by the private key constructor.
17pub 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected