[−][src]Enum openidconnect::core::CoreJsonWebKeyType
Type of JSON Web Key.
Variants (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.
Elliptic Curve Cryptography (ECC) key.
ECC algorithms such as ECDSA are currently unsupported.
RSA key.
Symmetric key.
Trait Implementations
impl Clone for CoreJsonWebKeyType
[src]
fn clone(&self) -> CoreJsonWebKeyType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CoreJsonWebKeyType
[src]
impl<'de> Deserialize<'de> for CoreJsonWebKeyType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl JsonWebKey<CoreJwsSigningAlgorithm, CoreJsonWebKeyType, CoreJsonWebKeyUse> for CoreJsonWebKey
[src]
fn key_id(&self) -> Option<&JsonWebKeyId>
[src]
fn key_type(&self) -> &CoreJsonWebKeyType
[src]
fn key_use(&self) -> Option<&CoreJsonWebKeyUse>
[src]
fn new_symmetric(key: Vec<u8>) -> Self
[src]
fn verify_signature(
&self,
signature_alg: &CoreJwsSigningAlgorithm,
message: &[u8],
signature: &[u8]
) -> Result<(), SignatureVerificationError>
[src]
&self,
signature_alg: &CoreJwsSigningAlgorithm,
message: &[u8],
signature: &[u8]
) -> Result<(), SignatureVerificationError>
impl JsonWebKeyType for CoreJsonWebKeyType
[src]
impl JweContentEncryptionAlgorithm<CoreJsonWebKeyType> for CoreJweContentEncryptionAlgorithm
[src]
fn key_type(&self) -> Result<CoreJsonWebKeyType, String>
[src]
impl JwsSigningAlgorithm<CoreJsonWebKeyType> for CoreJwsSigningAlgorithm
[src]
fn key_type(&self) -> Option<CoreJsonWebKeyType>
[src]
fn uses_shared_secret(&self) -> bool
[src]
fn hash_bytes(&self, bytes: &[u8]) -> Result<Vec<u8>, String>
[src]
fn rsa_sha_256() -> Self
[src]
impl PartialEq<CoreJsonWebKeyType> for CoreJsonWebKeyType
[src]
fn eq(&self, other: &CoreJsonWebKeyType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PrivateSigningKey<CoreJwsSigningAlgorithm, CoreJsonWebKeyType, CoreJsonWebKeyUse, CoreJsonWebKey> for CoreHmacKey
[src]
fn sign(
&self,
signature_alg: &CoreJwsSigningAlgorithm,
message: &[u8]
) -> Result<Vec<u8>, SigningError>
[src]
&self,
signature_alg: &CoreJwsSigningAlgorithm,
message: &[u8]
) -> Result<Vec<u8>, SigningError>
fn as_verification_key(&self) -> CoreJsonWebKey
[src]
impl PrivateSigningKey<CoreJwsSigningAlgorithm, CoreJsonWebKeyType, CoreJsonWebKeyUse, CoreJsonWebKey> for CoreRsaPrivateSigningKey
[src]
fn sign(
&self,
signature_alg: &CoreJwsSigningAlgorithm,
msg: &[u8]
) -> Result<Vec<u8>, SigningError>
[src]
&self,
signature_alg: &CoreJwsSigningAlgorithm,
msg: &[u8]
) -> Result<Vec<u8>, SigningError>
fn as_verification_key(&self) -> CoreJsonWebKey
[src]
impl Serialize for CoreJsonWebKeyType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CoreJsonWebKeyType
[src]
Auto Trait Implementations
impl RefUnwindSafe for CoreJsonWebKeyType
impl Send for CoreJsonWebKeyType
impl Sync for CoreJsonWebKeyType
impl Unpin for CoreJsonWebKeyType
impl UnwindSafe for CoreJsonWebKeyType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,