pub enum SigningAlgorithm {
Es256,
Ps256,
Rs256,
}Expand description
A JOSE signing algorithm the service verifies for client-side proofs.
Variants§
Es256
ECDSA over P-256 with SHA-256.
Ps256
RSASSA-PSS with SHA-256 (RSA 2048 bits or more).
Rs256
RSASSA-PKCS1-v1_5 with SHA-256 (RSA 2048 bits or more).
Implementations§
Trait Implementations§
Source§impl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
Source§fn clone(&self) -> SigningAlgorithm
fn clone(&self) -> SigningAlgorithm
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 moreSource§impl Debug for SigningAlgorithm
impl Debug for SigningAlgorithm
Source§impl Display for SigningAlgorithm
impl Display for SigningAlgorithm
Source§impl FromStr for SigningAlgorithm
impl FromStr for SigningAlgorithm
Source§impl Hash for SigningAlgorithm
impl Hash for SigningAlgorithm
Source§impl PartialEq for SigningAlgorithm
impl PartialEq for SigningAlgorithm
Source§fn eq(&self, other: &SigningAlgorithm) -> bool
fn eq(&self, other: &SigningAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SigningAlgorithm
impl Eq for SigningAlgorithm
impl StructuralPartialEq for SigningAlgorithm
Auto Trait Implementations§
impl Freeze for SigningAlgorithm
impl RefUnwindSafe for SigningAlgorithm
impl Send for SigningAlgorithm
impl Sync for SigningAlgorithm
impl Unpin for SigningAlgorithm
impl UnsafeUnpin for SigningAlgorithm
impl UnwindSafe for SigningAlgorithm
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