pub trait PrivateSignatureKey:
Send
+ Sync
+ Sized
+ Clone
+ Debug
+ Eq
+ Hash
+ for<'a> TryFrom<&'a TaggedBase64> {
// Required methods
fn to_bytes(&self) -> Vec<u8> ⓘ;
fn from_bytes(bytes: &[u8]) -> Result<Self>;
fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>;
}
Expand description
Trait for abstracting private signature key
Required Methods§
sourcefn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
sourcefn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>
fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>
Object Safety§
This trait is not object safe.