pub enum Cryptosuite {
EddsaJcs2022,
Mldsa44Jcs2024,
}Expand description
The cryptosuites this module can verify.
Variants§
EddsaJcs2022
Ed25519 over JCS, the suite Fedify-based servers sign with.
Mldsa44Jcs2024
ML-DSA-44 over JCS, the post-quantum suite Mastodon 4.7 added.
Implementations§
Trait Implementations§
Source§impl Clone for Cryptosuite
impl Clone for Cryptosuite
Source§fn clone(&self) -> Cryptosuite
fn clone(&self) -> Cryptosuite
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 Cryptosuite
Source§impl Debug for Cryptosuite
impl Debug for Cryptosuite
impl Eq for Cryptosuite
Source§impl PartialEq for Cryptosuite
impl PartialEq for Cryptosuite
impl StructuralPartialEq for Cryptosuite
Auto Trait Implementations§
impl Freeze for Cryptosuite
impl RefUnwindSafe for Cryptosuite
impl Send for Cryptosuite
impl Sync for Cryptosuite
impl Unpin for Cryptosuite
impl UnsafeUnpin for Cryptosuite
impl UnwindSafe for Cryptosuite
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.