pub struct PresentationEnvelope {
pub credential_said: String,
pub audience: String,
pub binding: PresentationBinding,
pub signature: Vec<u8>,
}Expand description
A minimal presentation envelope: the subject’s proof of current control of a.i.
This is the binding + a minimal envelope, not the IPEX grant/admit protocol
(deferred, tracked in F.7). The subject signs (credential-SAID || audience || nonce)
with its signing-time key; the verifier recovers that key by replaying the subject
KEL and checks this signature.
Fields§
§credential_said: StringThe SAID (acdc.d) of the credential being presented.
audience: StringThe audience this presentation is bound to (the relying party / verifier id).
binding: PresentationBindingThe binding mode (interactive challenge or non-interactive TTL).
signature: Vec<u8>The subject’s signature over (credential-SAID || audience || nonce).
Trait Implementations§
Source§impl Clone for PresentationEnvelope
impl Clone for PresentationEnvelope
Source§fn clone(&self) -> PresentationEnvelope
fn clone(&self) -> PresentationEnvelope
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 PresentationEnvelope
impl Debug for PresentationEnvelope
impl Eq for PresentationEnvelope
Source§impl PartialEq for PresentationEnvelope
impl PartialEq for PresentationEnvelope
Source§fn eq(&self, other: &PresentationEnvelope) -> bool
fn eq(&self, other: &PresentationEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PresentationEnvelope
Auto Trait Implementations§
impl Freeze for PresentationEnvelope
impl RefUnwindSafe for PresentationEnvelope
impl Send for PresentationEnvelope
impl Sync for PresentationEnvelope
impl Unpin for PresentationEnvelope
impl UnsafeUnpin for PresentationEnvelope
impl UnwindSafe for PresentationEnvelope
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.