pub struct IdentityProof {
pub signature: String,
pub public_key: String,
pub key_type: KeyType,
pub nonce: String,
}Expand description
Agent → Server: the cryptographic proof of identity (Section 15.3).
Fields§
§signature: StringBase64url (no padding) signature over the JCS-canonicalized challenge bytes. 64 bytes for both schemes.
public_key: StringBase64url (no padding) raw public key: 32 bytes (Ed25519) or 33 bytes (secp256k1 compressed).
key_type: KeyTypeThe signature scheme.
nonce: StringThe nonce from the challenge, echoed to assist server-side lookup.
Trait Implementations§
Source§impl Clone for IdentityProof
impl Clone for IdentityProof
Source§impl Debug for IdentityProof
impl Debug for IdentityProof
Source§impl<'de> Deserialize<'de> for IdentityProof
impl<'de> Deserialize<'de> for IdentityProof
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 IdentityProof
Source§impl PartialEq for IdentityProof
impl PartialEq for IdentityProof
Source§impl Serialize for IdentityProof
impl Serialize for IdentityProof
impl StructuralPartialEq for IdentityProof
Auto Trait Implementations§
impl Freeze for IdentityProof
impl RefUnwindSafe for IdentityProof
impl Send for IdentityProof
impl Sync for IdentityProof
impl Unpin for IdentityProof
impl UnsafeUnpin for IdentityProof
impl UnwindSafe for IdentityProof
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