pub struct Profile<'r, 'a> { /* private fields */ }Expand description
Static profile facts borrowing the original AC and owning decoded catalogues. A critical extension’s effect must still be enforced before using the AC.
Implementations§
Source§impl<'r, 'a> Profile<'r, 'a>
impl<'r, 'a> Profile<'r, 'a>
Sourcepub fn certificate(&self) -> &AttributeCertificate<'a>
pub fn certificate(&self) -> &AttributeCertificate<'a>
Original AC, including exact signed bytes and unchanged attributes.
Sourcepub fn audit_identity(&self) -> Option<&'a [u8]>
pub fn audit_identity(&self) -> Option<&'a [u8]>
Opaque original audit identity, for the caller’s audit handling (§4.3.1). Parsing does not establish unlinkability or enforce an audit policy.
Sourcepub fn targeting(&self) -> Option<&TargetInformation<'a>>
pub fn targeting(&self) -> Option<&TargetInformation<'a>>
Present targeting is a mandatory effect check, not satisfied by parsing.
Sourcepub fn proxying(&self) -> Option<&ProxyInfo<'a>>
pub fn proxying(&self) -> Option<&ProxyInfo<'a>>
Present proxying requires the authenticated sender/recipient/hop check.
Original authority key assertion, not proof that a supplied key belongs to it.
Sourcepub fn access(&self) -> Option<&InfoAccess<'a>>
pub fn access(&self) -> Option<&InfoAccess<'a>>
Original unresolved access locations; no acquisition occurred.
Sourcepub fn distribution(&self) -> Option<&DistributionPoints<'a>>
pub fn distribution(&self) -> Option<&DistributionPoints<'a>>
Original unresolved single distribution point, if present.
Sourcepub fn revocation(&self) -> Revocation
pub fn revocation(&self) -> Revocation
Written revocation scheme. Required never means a successful status check.
Sourcepub fn holder_alternatives(&self) -> u8
pub fn holder_alternatives(&self) -> u8
Number of written Holder alternatives, for explicit protocol selection. Zero cannot authenticate a holder; several are not silently prioritized.