pub struct SupportedRequirement<'a> {
pub standard: &'a DefinedStandard,
pub requirement: &'a DefinedRequirement,
pub attestation: &'a AttestationAssertion,
pub map_entry: &'a AttestationMapEntry,
pub supporting_claims: Vec<&'a DeclaredClaim>,
pub evidence_level: EvidenceLevel,
pub third_party_assessed: bool,
}Expand description
A standard requirement that resolved CDXA evidence fully supports at the
evaluation instant (see AttestationDeclarations::supported_requirements
for the fail-closed criteria). Borrows from the declarations it was
computed over; a query result, not a serialized artifact.
Fields§
§standard: &'a DefinedStandardThe standard encoding the requirement belongs to.
requirement: &'a DefinedRequirementThe requirement itself (its identifier is the standard’s own ID,
e.g. SSDF “PS.1”).
attestation: &'a AttestationAssertionThe attestation asserting the mapping.
map_entry: &'a AttestationMapEntryThe map entry connecting requirement to claims.
supporting_claims: Vec<&'a DeclaredClaim>The claims that survived fail-closed filtering (resolved target, no counter evidence, at least one resolving fresh evidence item).
evidence_level: EvidenceLevelEvidence strength: EvidenceLevel::SignaturePresent when the
declarations, the attestation, a supporting claim, or a supporting
evidence item carries a JSF signature object; otherwise
EvidenceLevel::Structural. Never SignatureVerified in phase 1.
third_party_assessed: boolWhether the asserting assessor resolved and declared
thirdParty: true.
Trait Implementations§
Source§impl<'a> Clone for SupportedRequirement<'a>
impl<'a> Clone for SupportedRequirement<'a>
Source§fn clone(&self) -> SupportedRequirement<'a>
fn clone(&self) -> SupportedRequirement<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for SupportedRequirement<'a>
impl<'a> RefUnwindSafe for SupportedRequirement<'a>
impl<'a> Send for SupportedRequirement<'a>
impl<'a> Sync for SupportedRequirement<'a>
impl<'a> Unpin for SupportedRequirement<'a>
impl<'a> UnsafeUnpin for SupportedRequirement<'a>
impl<'a> UnwindSafe for SupportedRequirement<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more