pub struct DpopKey { /* private fields */ }Expand description
A DPoP key pair. The private half is held out of reach: it signs proofs and cannot be read back.
Implementations§
Source§impl DpopKey
impl DpopKey
pub fn algorithm(&self) -> SigningAlgorithm
Sourcepub fn public_jwk(&self) -> &Map<String, Value>
pub fn public_jwk(&self) -> &Map<String, Value>
The public key as a JWK: the members RFC 7638 uses, and no private member.
Sourcepub fn thumbprint(&self) -> &str
pub fn thumbprint(&self) -> &str
RFC 7638 SHA-256 thumbprint of the public key: the jkt the service binds tokens to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DpopKey
impl RefUnwindSafe for DpopKey
impl Send for DpopKey
impl Sync for DpopKey
impl Unpin for DpopKey
impl UnsafeUnpin for DpopKey
impl UnwindSafe for DpopKey
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