pub struct ProofBundleV2 {
pub version: i64,
pub verifier_id: String,
pub agent_id: String,
pub agent_pub_key: HybridPublicKey,
pub delegations: Vec<DelegationCertV2>,
pub delegation_digest: Vec<u8>,
pub challenge: Vec<u8>,
pub challenge_at: i64,
pub challenge_sig: HybridSignature,
pub session_context: Option<Vec<u8>>,
pub stream_id: Option<Vec<u8>>,
pub stream_seq: Option<i64>,
}Expand description
Proof bundle carrying a challenge presentation (object code 0x0002).
None fields encode as JSON null.
Fields§
§version: i64§verifier_id: String§agent_id: String§agent_pub_key: HybridPublicKey§delegations: Vec<DelegationCertV2>§delegation_digest: Vec<u8>§challenge: Vec<u8>§challenge_at: i64§challenge_sig: HybridSignature§session_context: Option<Vec<u8>>§stream_id: Option<Vec<u8>>§stream_seq: Option<i64>Trait Implementations§
Source§impl Clone for ProofBundleV2
impl Clone for ProofBundleV2
Auto Trait Implementations§
impl Forget for ProofBundleV2
impl Freeze for ProofBundleV2
impl RefUnwindSafe for ProofBundleV2
impl Send for ProofBundleV2
impl Sync for ProofBundleV2
impl Unpin for ProofBundleV2
impl UnsafeUnpin for ProofBundleV2
impl UnwindSafe for ProofBundleV2
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