apple_codesign::remote_signing::session_negotiation

Trait PublicKeyPeerDecrypt

Source
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§