Trait sn_data_types::Signing [−][src]
Ability to sign and validate data/tokens, as well as specify the type of ownership of that data
Ability to sign and validate data/tokens, as well as specify the type of ownership of that data
fn id(&self) -> OwnerType
[src]fn sign<T: Serialize>(&self, data: &T) -> Result<Signature>
[src]fn verify<T: Serialize>(&self, sig: &Signature, data: &T) -> bool
[src]