Enum picky::jose::jws::JwsAlg [−][src]
pub enum JwsAlg { HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512, }
Expand description
alg
header parameter values for JWS
JSON Web Algorithms (JWA) draft-ietf-jose-json-web-algorithms-40 #3
Variants
HMAC using SHA-256 (unsupported)
Required by RFC
HMAC using SHA-384 (unsupported)
HMAC using SHA-512 (unsupported)
RSASSA-PKCS-v1_5 using SHA-256
Recommended by RFC
RSASSA-PKCS-v1_5 using SHA-384
RSASSA-PKCS-v1_5 using SHA-512
ECDSA using P-256 and SHA-256 (unsupported)
Recommended+ by RFC
ECDSA using P-384 and SHA-384 (unsupported)
ECDSA using P-521 and SHA-512 (unsupported)
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (unsupported)
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (unsupported)
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (unsupported)
Trait Implementations
impl<'de> Deserialize<'de> for JwsAlg
[src]
impl<'de> Deserialize<'de> for JwsAlg
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl TryFrom<JwsAlg> for SignatureAlgorithm
[src]
impl TryFrom<JwsAlg> for SignatureAlgorithm
[src]impl TryFrom<SignatureAlgorithm> for JwsAlg
[src]
impl TryFrom<SignatureAlgorithm> for JwsAlg
[src]type Error = SignatureError
type Error = SignatureError
The type returned in the event of a conversion error.
fn try_from(v: SignatureAlgorithm) -> Result<Self, Self::Error>
[src]
fn try_from(v: SignatureAlgorithm) -> Result<Self, Self::Error>
[src]Performs the conversion.
impl Copy for JwsAlg
[src]
impl Eq for JwsAlg
[src]
impl StructuralEq for JwsAlg
[src]
impl StructuralPartialEq for JwsAlg
[src]
Auto Trait Implementations
impl RefUnwindSafe for JwsAlg
impl Send for JwsAlg
impl Sync for JwsAlg
impl Unpin for JwsAlg
impl UnwindSafe for JwsAlg
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,