DecryptSigner

Trait DecryptSigner 

Source
pub trait DecryptSigner {
    // Required method
    fn decrypt(&self, index: usize, recipient_key: PrivateKey) -> PublicKey;
}

Required Methods§

Source

fn decrypt(&self, index: usize, recipient_key: PrivateKey) -> PublicKey

Perform decryption of the signer key.

§Arguments
  • index - The index of the encryption recipient
  • recipient_key - The private key of the recipient used for decryption

Implementors§