pub fn clone_public_key(&self) -> Result<DsaPublicKey, Error> {
        let p = self.dsa.p().to_owned()?;
        let q = self.dsa.q().to_owned()?;
        let g = self.dsa.g().to_owned()?;
        let pub_key = self.dsa.pub_key().to_owned()?;
        Ok(DsaPublicKey::new(p, q, g, pub_key)?)
    }
/// 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<DsaPublicKey, Error> {
        let p = self.dsa.p().to_owned()?;
        let q = self.dsa.q().to_owned()?;
        let g = self.dsa.g().to_owned()?;
        let pub_key = self.dsa.pub_key().to_owned()?;
        Ok(DsaPublicKey::new(p, q, g, pub_key)?)
    }
pub fn clone_public_key ( & self ) -> Result < DsaPublicKey , Error > { let p = self . dsa . p ( ) . to_owned ( ) ? ; let q = self . dsa . q ( ) . to_owned ( ) ? ; let g = self . dsa . g ( ) . to_owned ( ) ? ; let pub_key = self . dsa . pub_key ( ) . to_owned ( ) ? ; Ok ( DsaPublicKey :: new ( p , q , g , pub_key ) ? ) }
Clone the public parts to generate public key
Clone the public parts to generate public key
&self
&self