Module traits

Module traits 

Source
Expand description

All functionality is covered by traits, such that consumers can utilize trait objects as desired.

Traitsยง

KeyGen
The KeyGen trait is defined to allow trait objects.
SerDes
The SerDes trait provides for validated serialization and deserialization of fixed size elements
Signer
The Signer trait is implemented for the PrivateKey struct on each of the security parameter sets
Verifier
The Verifier trait is implemented for PublicKey on each of the security parameter sets