Skip to main content

Scheme

Trait Scheme 

Source
pub trait Scheme<D: Digest>: CertificateVerifier<D> + for<'a> CertificateScheme<Subject<'a, D> = Subject<'a, D>> { }
Expand description

Marker trait for signing schemes compatible with simplex.

This trait binds a CertificateScheme to the Subject subject type and N3f1 fault model used by the simplex protocol. It is automatically implemented for any compatible scheme.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<D: Digest, S> Scheme<D> for S
where S: CertificateVerifier<D> + for<'a> CertificateScheme<Subject<'a, D> = Subject<'a, D>>,