pub trait CryptographicSuiteSelect<T, P>: SelectiveCryptographicSuite {
// Required method
async fn select(
&self,
unsecured_document: &T,
proof: ProofRef<'_, Self>,
params: P,
options: Self::SelectionOptions,
) -> Result<DataIntegrity<Object, Self>, SelectionError>;
}Expand description
Cryptographic suite with selective disclosure capabilities on a given type
T.
Provides the select method on the cryptosuite.
Required Methods§
Sourceasync fn select(
&self,
unsecured_document: &T,
proof: ProofRef<'_, Self>,
params: P,
options: Self::SelectionOptions,
) -> Result<DataIntegrity<Object, Self>, SelectionError>
async fn select( &self, unsecured_document: &T, proof: ProofRef<'_, Self>, params: P, options: Self::SelectionOptions, ) -> Result<DataIntegrity<Object, Self>, SelectionError>
Select a subset of claims to disclose.
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.