pub trait HintTaker {
// Provided methods
fn take_the_hint(
&self,
envelope_id_hint: &EnvelopeIdHint,
salts: &Salts,
) -> Result<HintedEnvelopeId, CryptError>
where Self: ParticipantSecretKeys { ... }
fn take_all_the_hints(
&self,
envelope_id_hints: &EnvelopeIdHints,
salts: &Salts,
) -> Result<Vec<HintedEnvelopeId>, DecodeError>
where Self: ParticipantSecretKeys { ... }
}Expand description
Secret keys that “take” (decrypt) hints using ECDH-OMR.
Provided Methods§
Sourcefn take_the_hint(
&self,
envelope_id_hint: &EnvelopeIdHint,
salts: &Salts,
) -> Result<HintedEnvelopeId, CryptError>where
Self: ParticipantSecretKeys,
fn take_the_hint(
&self,
envelope_id_hint: &EnvelopeIdHint,
salts: &Salts,
) -> Result<HintedEnvelopeId, CryptError>where
Self: ParticipantSecretKeys,
Decrypt a single envelope ID hint.
Sourcefn take_all_the_hints(
&self,
envelope_id_hints: &EnvelopeIdHints,
salts: &Salts,
) -> Result<Vec<HintedEnvelopeId>, DecodeError>where
Self: ParticipantSecretKeys,
fn take_all_the_hints(
&self,
envelope_id_hints: &EnvelopeIdHints,
salts: &Salts,
) -> Result<Vec<HintedEnvelopeId>, DecodeError>where
Self: ParticipantSecretKeys,
Decrypt a set of envelope ID hints.
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.