pub struct DpopConfig {
pub key_algorithm: DpopAlgorithm,
pub proof_lifetime: Duration,
pub clock_skew_tolerance: Duration,
pub key_storage: DpopKeyStorageConfig,
}Expand description
DPoP (Demonstration of Proof-of-Possession) configuration
Fields§
§key_algorithm: DpopAlgorithmCryptographic algorithm for DPoP proofs
proof_lifetime: DurationProof lifetime in seconds (default: 60s per RFC 9449)
clock_skew_tolerance: DurationMaximum clock skew tolerance in seconds (default: 300s per RFC 9449)
key_storage: DpopKeyStorageConfigKey storage backend selection
Trait Implementations§
Source§impl Clone for DpopConfig
impl Clone for DpopConfig
Source§fn clone(&self) -> DpopConfig
fn clone(&self) -> DpopConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DpopConfig
impl Debug for DpopConfig
Source§impl Default for DpopConfig
Available on crate feature dpop only.
impl Default for DpopConfig
Available on crate feature
dpop only.Source§impl<'de> Deserialize<'de> for DpopConfig
impl<'de> Deserialize<'de> for DpopConfig
Source§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 Freeze for DpopConfig
impl RefUnwindSafe for DpopConfig
impl Send for DpopConfig
impl Sync for DpopConfig
impl Unpin for DpopConfig
impl UnwindSafe for DpopConfig
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