pub struct Confirmation {
pub key_fingerprint: String,
pub alg: String,
}Expand description
Proof-of-possession binding.
ANVIL section 5.2 requires that an ACT be bound to the agent’s OAS DID by proof-of-possession. A verifier that ignores this claim cannot tell a legitimate holder from someone replaying a captured token, which is why it is typed here rather than left to the extension map.
Fields§
§key_fingerprint: StringFingerprint of the key the holder must demonstrate control of.
alg: StringAlgorithm the fingerprint and possession proof use, for example
"Ed25519".
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
Source§impl Debug for Confirmation
impl Debug for Confirmation
Source§impl<'de> Deserialize<'de> for Confirmation
impl<'de> Deserialize<'de> for Confirmation
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
impl Eq for Confirmation
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
Source§impl Serialize for Confirmation
impl Serialize for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Freeze for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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