pub struct OcspEnvelopeReference<'r, 'e, 's, 'd, N, D, G> { /* private fields */ }Expand description
Identifier and optional digest checked against the SAME signed envelope. This does not prove authorization, target status, actual use or trust.
Implementations§
Source§impl<'r, 'e, 's, 'd, N, D, G> OcspEnvelopeReference<'r, 'e, 's, 'd, N, D, G>
impl<'r, 'e, 's, 'd, N, D, G> OcspEnvelopeReference<'r, 'e, 's, 'd, N, D, G>
Sourcepub fn references(&self) -> &'r ReferenceProperty<N, D, G>
pub fn references(&self) -> &'r ReferenceProperty<N, D, G>
Original property and its immutable source/generation.
Sourcepub fn actual(&self) -> OcspReferenceInput<'e, 's, 'd>
pub fn actual(&self) -> OcspReferenceInput<'e, 's, 'd>
Same whole envelope, authenticated body and signer used by both checks.
Sourcepub fn identity(&self) -> &Located<OcspReferenceIdentity, N, D, G>
pub fn identity(&self) -> &Located<OcspReferenceIdentity, N, D, G>
Original identifier location and all readable responder/time facts.
Sourcepub fn digest(&self) -> Option<ReferenceDigest>
pub fn digest(&self) -> Option<ReferenceDigest>
None means mandatory identifier syntax was malformed/unsupported, so
digest processing was not attempted. IdentifierOnly means no digest was
written; neither is a successful whole-envelope digest agreement.
Sourcepub fn identifies_response(&self) -> bool
pub fn identifies_response(&self) -> bool
Mandatory responder/time agree with this response, and its digest
agrees if written. Annex A.1.2 makes the digest optional (SHOULD): an
identifier-only reference can identify this response but does not bind
its whole contents against substitution. Inspect Self::digest to
retain that distinction; this proves no authority, status, trust or grade.