pub struct AgentCardSignatureVerificationInput {
pub protected_header: JwsProtectedHeader,
pub protected_segment: String,
pub signature: Vec<u8>,
pub signing_input: Vec<u8>,
pub unprotected_header: Option<JsonObject>,
}Expand description
Prepared detached-JWS verification input for an agent-card signature.
Fields§
§protected_header: JwsProtectedHeaderParsed protected JOSE header.
protected_segment: StringOriginal base64url-encoded protected segment.
signature: Vec<u8>Decoded signature bytes.
signing_input: Vec<u8>Detached JWS signing input: protected + "." + base64url(payload).
unprotected_header: Option<JsonObject>Optional unprotected JOSE header.
Trait Implementations§
Source§impl Clone for AgentCardSignatureVerificationInput
impl Clone for AgentCardSignatureVerificationInput
Source§fn clone(&self) -> AgentCardSignatureVerificationInput
fn clone(&self) -> AgentCardSignatureVerificationInput
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 PartialEq for AgentCardSignatureVerificationInput
impl PartialEq for AgentCardSignatureVerificationInput
Source§fn eq(&self, other: &AgentCardSignatureVerificationInput) -> bool
fn eq(&self, other: &AgentCardSignatureVerificationInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AgentCardSignatureVerificationInput
impl StructuralPartialEq for AgentCardSignatureVerificationInput
Auto Trait Implementations§
impl Freeze for AgentCardSignatureVerificationInput
impl RefUnwindSafe for AgentCardSignatureVerificationInput
impl Send for AgentCardSignatureVerificationInput
impl Sync for AgentCardSignatureVerificationInput
impl Unpin for AgentCardSignatureVerificationInput
impl UnsafeUnpin for AgentCardSignatureVerificationInput
impl UnwindSafe for AgentCardSignatureVerificationInput
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