Struct openid::biscuit::jwk::CommonParameters [−][src]
Common JWK parameters
Fields
public_key_use: Option<PublicKeyUse>
The intended use of the public key. Should not be specified with key_operations
.
See sections 4.2 and 4.3 of RFC7517.
key_operations: Option<Vec<KeyOperations, Global>>
The “key_ops” (key operations) parameter identifies the operation(s)
for which the key is intended to be used. The “key_ops” parameter is
intended for use cases in which public, private, or symmetric keys
may be present.
Should not be specified with public_key_use
.
See sections 4.2 and 4.3 of RFC7517.
algorithm: Option<Algorithm>
The algorithm intended for use with the key
key_id: Option<String>
The case sensitive Key ID for the key
x509_url: Option<String>
X.509 Public key cerfificate URL. This is currently not implemented (correctly).
Serialized to x5u
.
x509_chain: Option<Vec<String, Global>>
X.509 public key certificate chain. This is currently not implemented (correctly).
Serialized to x5c
.
x509_fingerprint: Option<String>
X.509 Certificate thumbprint. This is currently not implemented (correctly).
Also not implemented, is the SHA-256 thumbprint variant of this header.
Serialized to x5t
.
Trait Implementations
impl Clone for CommonParameters
[src]
pub fn clone(&self) -> CommonParameters
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CommonParameters
[src]
impl Default for CommonParameters
[src]
pub fn default() -> CommonParameters
[src]
impl<'de> Deserialize<'de> for CommonParameters
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CommonParameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<CommonParameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for CommonParameters
[src]
impl PartialEq<CommonParameters> for CommonParameters
[src]
pub fn eq(&self, other: &CommonParameters) -> bool
[src]
pub fn ne(&self, other: &CommonParameters) -> bool
[src]
impl Serialize for CommonParameters
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for CommonParameters
[src]
impl StructuralPartialEq for CommonParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommonParameters
impl Send for CommonParameters
impl Sync for CommonParameters
impl Unpin for CommonParameters
impl UnwindSafe for CommonParameters
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,
pub 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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,