Searched refs:RsaPrivateKeyBuilder (Results 1 – 2 of 2) sorted by relevance
423 pub struct RsaPrivateKeyBuilder { struct427 impl RsaPrivateKeyBuilder { argument437 pub fn new(n: BigNum, e: BigNum, d: BigNum) -> Result<RsaPrivateKeyBuilder, ErrorStack> { in new() argument442 Ok(RsaPrivateKeyBuilder { in new()453 pub fn set_factors(self, p: BigNum, q: BigNum) -> Result<RsaPrivateKeyBuilder, ErrorStack> { in set_factors() argument472 ) -> Result<RsaPrivateKeyBuilder, ErrorStack> { in set_crt_params() argument517 Ok(RsaPrivateKeyBuilder::new(n, e, d)? in from_private_components()
524 * Added `RsaPrivateKeyBuilder` to allow control over initialization of optional components of an RSA