pub struct SignedAcdc {
pub acdc: Acdc,
pub signature: Vec<u8>,
}Expand description
An ACDC paired with the issuer’s detached signature over its canonical wire bytes.
The ACDC body itself carries no signature; the issuer signs
Acdc::to_wire_bytes with the KEL signing key in force when the issuance was
anchored. The verifier recovers that signing-time key by KEL replay and checks
this signature against it.
Fields§
§acdc: AcdcThe credential body.
signature: Vec<u8>The issuer’s signature over acdc.to_wire_bytes().
Trait Implementations§
Source§impl Clone for SignedAcdc
impl Clone for SignedAcdc
Source§fn clone(&self) -> SignedAcdc
fn clone(&self) -> SignedAcdc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignedAcdc
impl Debug for SignedAcdc
impl Eq for SignedAcdc
Source§impl PartialEq for SignedAcdc
impl PartialEq for SignedAcdc
Source§fn eq(&self, other: &SignedAcdc) -> bool
fn eq(&self, other: &SignedAcdc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignedAcdc
Auto Trait Implementations§
impl Freeze for SignedAcdc
impl RefUnwindSafe for SignedAcdc
impl Send for SignedAcdc
impl Sync for SignedAcdc
impl Unpin for SignedAcdc
impl UnsafeUnpin for SignedAcdc
impl UnwindSafe for SignedAcdc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.