pub enum RequestObjectAlg {
Es256,
}Available on crate feature
jar and (crate features jar or par) only.Expand description
A signature algorithm a client may register for its request objects.
A one-variant enum on purpose. The value that matters is the one that is NOT here: RFC 9101
section 10.5 requires alg: none to be rejected, and the cheapest way to guarantee that is a
type in which “none” cannot be spelled, so no configuration mistake and no future edit to a
string comparison can reintroduce it.
Variants§
Es256
ECDSA using P-256 and SHA-256 (RFC 7518 section 3.4).
Implementations§
Trait Implementations§
Source§impl Clone for RequestObjectAlg
impl Clone for RequestObjectAlg
Source§fn clone(&self) -> RequestObjectAlg
fn clone(&self) -> RequestObjectAlg
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 RequestObjectAlg
Source§impl Debug for RequestObjectAlg
impl Debug for RequestObjectAlg
impl Eq for RequestObjectAlg
Source§impl Hash for RequestObjectAlg
impl Hash for RequestObjectAlg
Source§impl PartialEq for RequestObjectAlg
impl PartialEq for RequestObjectAlg
impl StructuralPartialEq for RequestObjectAlg
Auto Trait Implementations§
impl Freeze for RequestObjectAlg
impl RefUnwindSafe for RequestObjectAlg
impl Send for RequestObjectAlg
impl Sync for RequestObjectAlg
impl Unpin for RequestObjectAlg
impl UnsafeUnpin for RequestObjectAlg
impl UnwindSafe for RequestObjectAlg
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