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.
pub trait PublicKeyPeerDecrypt {
// Required method
fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>, RemoteSignError>;
}Describes a type that is capable of decrypting messages used during public key negotiation.