pub fn clone_public_key(&self) -> Result<RsaPublicKey, Error> {
        let n = self.rsa.n().to_owned()?;
        let e = self.rsa.e().to_owned()?;
        RsaPublicKey::new_with_signhash(n, e, self.signhash)
    }
/// Clone the public parts to generate public key
Clone the public parts to generate public key
Clone the public parts to generate public key
pub fn clone_public_key(&self) -> Result<RsaPublicKey, Error> {
        let n = self.rsa.n().to_owned()?;
        let e = self.rsa.e().to_owned()?;
        RsaPublicKey::new_with_signhash(n, e, self.signhash)
    }
pub fn clone_public_key ( & self ) -> Result < RsaPublicKey , Error > { let n = self . rsa . n ( ) . to_owned ( ) ? ; let e = self . rsa . e ( ) . to_owned ( ) ? ; RsaPublicKey :: new_with_signhash ( n , e , self . signhash ) }
Clone the public parts to generate public key
Clone the public parts to generate public key
&self
&self