pub struct VerificationRequest<'a> {
pub expected_targets: &'a [NodeIdentity],
pub trusted_keys: &'a [CallerTrustedSignatureKey<'a>],
pub external_resources: Option<&'a HashMap<String, Vec<u8>>>,
pub signatures: SignatureRequirement,
pub correlation: Option<[u8; 16]>,
}Expand description
Request data, immutably borrowed for one verification operation.
Fields§
§expected_targets: &'a [NodeIdentity]Elements whose complete expanded content must be authenticated. Comments and an enveloped Signature are not part of this assertion.
trusted_keys: &'a [CallerTrustedSignatureKey<'a>]Per-signature trusted keys. Duplicate/foreign/stale mappings fail closed.
external_resources: Option<&'a HashMap<String, Vec<u8>>>Explicit external bytes; no implicit I/O or configuration discovery.
signatures: SignatureRequirementRequired multi-signature outcome; zero counts are invalid requests.
correlation: Option<[u8; 16]>Opaque caller correlation value, never read from XML or used as trust.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VerificationRequest<'a>
impl<'a> !Send for VerificationRequest<'a>
impl<'a> !Sync for VerificationRequest<'a>
impl<'a> !UnwindSafe for VerificationRequest<'a>
impl<'a> Freeze for VerificationRequest<'a>
impl<'a> Unpin for VerificationRequest<'a>
impl<'a> UnsafeUnpin for VerificationRequest<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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