Enum openidconnect::core::CoreJweContentEncryptionAlgorithm [−][src]
#[non_exhaustive] pub enum CoreJweContentEncryptionAlgorithm { Aes128CbcHmacSha256, Aes192CbcHmacSha384, Aes256CbcHmacSha512, Aes128Gcm, Aes192Gcm, Aes256Gcm, }
Expand description
OpenID Connect Core JWE encryption algorithms.
These algorithms represent the enc
header parameter values for JSON Web Encryption.
The values are described in
Section 5.1 of RFC 7518.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AES-128 CBC HMAC SHA-256 authenticated encryption.
AES-192 CBC HMAC SHA-384 authenticated encryption.
AES-256 CBC HMAC SHA-512 authenticated encryption.
AES-128 GCM.
AES-192 GCM.
AES-256 GCM.
Trait Implementations
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
Auto Trait Implementations
impl Send for CoreJweContentEncryptionAlgorithm
impl Sync for CoreJweContentEncryptionAlgorithm
impl Unpin for CoreJweContentEncryptionAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V