[−][src]Trait selenite::crypto::Signatures
Traits For Signatures
These traits are required for properly handling signatures. They allow the serialization/deserialization of signatures, the conversion into bytes, and the verification of signatures.
Required methods
fn export(&self) -> String
Serializes To YAML
fn import(yaml: &str) -> Self
Deserializes From YAML
fn verify(&self) -> bool
Verifies a Signature