pub fn new(n: BigNum, e: BigNum) -> Result<RsaPublicKey, openssl::error::ErrorStack> {
        let rsa = Rsa::from_public_components(n, e)?;
        Ok(RsaPublicKey {
            rsa,
            signhash: RsaSignature::SHA1,
        })
    }
/// Create the RSA public key from public components
Create the RSA public key from public components
Create the RSA public key from public components
pub fn new(n: BigNum, e: BigNum) -> Result<RsaPublicKey, openssl::error::ErrorStack> {
        let rsa = Rsa::from_public_components(n, e)?;
        Ok(RsaPublicKey {
            rsa,
            signhash: RsaSignature::SHA1,
        })
    }
pub fn new ( n : BigNum , e : BigNum ) -> Result < RsaPublicKey , openssl :: error :: ErrorStack > { let rsa = Rsa :: from_public_components ( n , e ) ? ; Ok ( RsaPublicKey { rsa , signhash : RsaSignature :: SHA1 , } ) }
Create the RSA public key from public components
Create the RSA public key from public components
n
BigNum
e
BigNum
n
BigNum
e
BigNum