pub enum SignatureAlg {
HmacSha256,
Ed25519,
RsaSha256,
}Expand description
Signature algorithm for sign/verify. Distinct from CredentialKind:
the kind is what the credential is, the alg is what this call asks it to
do, and the custodian refuses mismatches.
Variants§
Trait Implementations§
Source§impl Clone for SignatureAlg
impl Clone for SignatureAlg
Source§fn clone(&self) -> SignatureAlg
fn clone(&self) -> SignatureAlg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SignatureAlg
Source§impl Debug for SignatureAlg
impl Debug for SignatureAlg
Source§impl<'de> Deserialize<'de> for SignatureAlg
impl<'de> Deserialize<'de> for SignatureAlg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignatureAlg
Source§impl Hash for SignatureAlg
impl Hash for SignatureAlg
Source§impl PartialEq for SignatureAlg
impl PartialEq for SignatureAlg
Source§impl Serialize for SignatureAlg
impl Serialize for SignatureAlg
impl StructuralPartialEq for SignatureAlg
Auto Trait Implementations§
impl Freeze for SignatureAlg
impl RefUnwindSafe for SignatureAlg
impl Send for SignatureAlg
impl Sync for SignatureAlg
impl Unpin for SignatureAlg
impl UnsafeUnpin for SignatureAlg
impl UnwindSafe for SignatureAlg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more