pub struct SignerBinding<'receipt, 'model, 'document, 'path> { /* private fields */ }Expand description
Completed root binding facts, including negative mathematical outcomes.
Construction performs ESS itself; externally writable Bindings cannot
manufacture a receipt. A retained path is available only for an actual
fully associated signer, never from a public boolean assertion.
Implementations§
Source§impl<'r, 'm, 'd, 'p> SignerBinding<'r, 'm, 'd, 'p>
impl<'r, 'm, 'd, 'p> SignerBinding<'r, 'm, 'd, 'p>
Sourcepub fn prepared(&self) -> &'r Preparation<'m, 'd>
pub fn prepared(&self) -> &'r Preparation<'m, 'd>
Same original requested-level preparation.
Sourcepub fn certificate(&self) -> &'p Certificate<'d>
pub fn certificate(&self) -> &'p Certificate<'d>
Candidate actually compared with SID, ESS and the CMS checked key.
Sourcepub fn identifier(&self) -> &CertificateAgreement
pub fn identifier(&self) -> &CertificateAgreement
Original signer-identifier agreement, including unreadable SKI causes.
Sourcepub fn ess(&self) -> Bindings
pub fn ess(&self) -> Bindings
Both independently computed ESS answers. Neither absent value is success.
Sourcepub fn key_matches(&self) -> bool
pub fn key_matches(&self) -> bool
The supplied effective key agrees with this path’s actual target key.
Sourcepub fn included(&self) -> Option<Original<'m, 'd>>
pub fn included(&self) -> Option<Original<'m, 'd>>
Exact original occurrence in root SignedData.certificates, if present.
Sourcepub fn mathematical(&self) -> bool
pub fn mathematical(&self) -> bool
CMS arithmetic and payload binding both succeeded. This alone says nothing about the root profile, certificate, path, or caller trust.
Sourcepub fn restrictions(&self) -> PathRestriction
pub fn restrictions(&self) -> PathRestriction
Actual path-set restriction result, independent of signer certHash.
Trait Implementations§
Source§impl<'m, 'd, 'p> SignerReceipt<'p, 'd> for SignerBinding<'_, 'm, 'd, 'p>
impl<'m, 'd, 'p> SignerReceipt<'p, 'd> for SignerBinding<'_, 'm, 'd, 'p>
Source§type Document = DocumentId<'m, 'd>
type Document = DocumentId<'m, 'd>
Source§type Generation = ()
type Generation = ()
Source§fn signature(&self) -> Original<'m, 'd>
fn signature(&self) -> Original<'m, 'd>
Source§fn path(&self) -> Option<&'p CheckedPath<'d>>
fn path(&self) -> Option<&'p CheckedPath<'d>>
None when the format has not established
the signing certificate or its signed path restrictions.