pub trait PublicKeyPeerDecrypt {
    // Required method
    fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>, RemoteSignError>;
}
Expand description

Describes a type that is capable of decrypting messages used during public key negotiation.

Required Methods§

source

fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>, RemoteSignError>

Decrypt an encrypted message.

Implementors§