pub enum Fleet {
Ed25519,
Ed25519P256,
}Expand description
Which signature algorithms a verifier checks.
The fleet is scheme policy, not per-surface code: pick a variant
instead of hand-writing a SignatureVerifier. The seam stays
open — exotic fleets (threshold, HSM) still implement the trait.
Variants§
Ed25519
Ed25519 only — the browser/WASM verifier profile.
Ed25519P256
Ed25519 or ECDSA-P256 — the classical algorithms of the default registry.
Trait Implementations§
impl Copy for Fleet
Source§impl<'de> Deserialize<'de> for Fleet
impl<'de> Deserialize<'de> for Fleet
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 Fleet
Source§impl SignatureVerifier for Fleet
impl SignatureVerifier for Fleet
impl StructuralPartialEq for Fleet
Auto Trait Implementations§
impl Freeze for Fleet
impl RefUnwindSafe for Fleet
impl Send for Fleet
impl Sync for Fleet
impl Unpin for Fleet
impl UnsafeUnpin for Fleet
impl UnwindSafe for Fleet
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