pub trait SigType: Sealed<Self> { }Expand description
Abstracts over different RedDSA parameter choices, Binding
and SpendAuth.
As described at the end of §5.4.6 of the Zcash
protocol specification, the generator used in RedDSA is left as
an unspecified parameter, chosen differently for each of
BindingSig and SpendAuthSig.
To handle this, we encode the parameter choice as a genuine type parameter.
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.