pub enum SignatureSuite {
Ed25519,
Other(String),
}Expand description
A signature suite named in key identity and attestation preimages.
Other keeps unimplemented suites representable so identity comparison
works across them; it is not a licence to verify — see
crate::attest::AttestError::UnknownSuite.
Variants§
Ed25519
Ed25519 — the v2 default and the unmarked legacy reading.
Other(String)
A syntactically well-formed suite name this implementation does not implement. Sign/verify dispatch on it yields a typed rejection.
Implementations§
Source§impl SignatureSuite
impl SignatureSuite
Trait Implementations§
Source§impl Clone for SignatureSuite
impl Clone for SignatureSuite
Source§impl Debug for SignatureSuite
impl Debug for SignatureSuite
Source§impl Display for SignatureSuite
impl Display for SignatureSuite
impl Eq for SignatureSuite
Source§impl Hash for SignatureSuite
impl Hash for SignatureSuite
Source§impl Ord for SignatureSuite
impl Ord for SignatureSuite
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SignatureSuite
impl PartialEq for SignatureSuite
Source§impl PartialOrd for SignatureSuite
impl PartialOrd for SignatureSuite
impl StructuralPartialEq for SignatureSuite
Auto Trait Implementations§
impl Forget for SignatureSuite
impl Freeze for SignatureSuite
impl Move for SignatureSuite
impl RefUnwindSafe for SignatureSuite
impl Send for SignatureSuitewhere
RawVecInner: Send,
impl Sync for SignatureSuitewhere
RawVecInner: Sync,
impl Unpin for SignatureSuite
impl UnsafeUnpin for SignatureSuite
impl UnwindSafe for SignatureSuitewhere
RawVecInner: UnwindSafe,
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