pub trait EncryptingKeypair {
type EncryptingKey: Clone;
// Required method
fn encrypting_key(&self) -> Self::EncryptingKey;
}Expand description
Encryption keypair with an associated encryption key.
Required Associated Types§
Sourcetype EncryptingKey: Clone
type EncryptingKey: Clone
Encrypting key type for this keypair.
Required Methods§
Sourcefn encrypting_key(&self) -> Self::EncryptingKey
fn encrypting_key(&self) -> Self::EncryptingKey
Get the encrypting key which can encrypt messages to be decrypted by the decryption key portion of this keypair.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl EncryptingKeypair for DecryptingKey
Available on crate feature private-key only.
impl EncryptingKeypair for DecryptingKey
Available on crate feature
private-key only.