Trait Sealable

Source
pub trait Sealable<S> {
    // Provided method
    fn seal(
        &self,
        shared_public_keys: &SharedPublicKeys,
        salts: &Salts,
        csprng: &mut impl CryptoRngCore,
    ) -> Result<S, CryptError>
       where S: PublicKeyEncryptedFromParts,
             Self: ProstEncode + Decryptable<S> { ... }
}

Provided Methods§

Source

fn seal( &self, shared_public_keys: &SharedPublicKeys, salts: &Salts, csprng: &mut impl CryptoRngCore, ) -> Result<S, CryptError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Sealable<SealedEnvelopeId> for EnvelopeId

Source§

impl Sealable<SealedMessageVaultId> for MessageVaultId

Implementors§