pub struct Checks<'a, 'v, 's, S: RangeSource> { /* private fields */ }Expand description
Mathematical checks privately bound to the actual input member chosen by this driver. A separately checked arbitrary source cannot create this type.
Implementations§
Source§impl<'a, 'v, 's, S: RangeSource> Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S: RangeSource> Checks<'a, 'v, 's, S>
Sourcepub fn checks(&self) -> &DocumentChecks<'a>
pub fn checks(&self) -> &DocumentChecks<'a>
Every actually executed prepared signer answer, without copying.
Sourcepub fn payload(&self) -> MemberId<S::Document, S::Generation>
pub fn payload(&self) -> MemberId<S::Document, S::Generation>
Exact original payload or manifest consumed by this batch.
Sourcepub fn bind<'provider, 'r, 'm, 'd, 'p, P: AsnDigest<'provider>>(
&self,
prepared: &'r Preparation<'m, 'd>,
checked: &Checked<'_>,
certificate: &'p Certificate<'d>,
path: Option<&'p CheckedPath<'d>>,
provider: &'provider P,
parent: &Reader<'provider>,
) -> Result<Signer<'r, 'm, 'd, 'p, 'v, 's, S>, BindError<S::Error, P::Error>>where
'd: 'provider,
pub fn bind<'provider, 'r, 'm, 'd, 'p, P: AsnDigest<'provider>>(
&self,
prepared: &'r Preparation<'m, 'd>,
checked: &Checked<'_>,
certificate: &'p Certificate<'d>,
path: Option<&'p CheckedPath<'d>>,
provider: &'provider P,
parent: &Reader<'provider>,
) -> Result<Signer<'r, 'm, 'd, 'p, 'v, 's, S>, BindError<S::Error, P::Error>>where
'd: 'provider,
Runs the ONE existing CAdES SID/key/ESS/path binder on a check that this
original member pass actually produced. No supplied successful boolean
or separately checked arbitrary payload can create the linked signer.
Auto Trait Implementations§
impl<'a, 'v, 's, S> !Freeze for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !RefUnwindSafe for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !Send for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !Sync for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !UnwindSafe for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> Forget for Checks<'a, 'v, 's, S>
impl<'a, 'v, 's, S> Unpin for Checks<'a, 'v, 's, S>where
&'a Content<'v, 's, S>: Unpin,
MemberId<<S as RangeSource>::Document, <S as RangeSource>::Generation>: Unpin,
impl<'a, 'v, 's, S> UnsafeUnpin for Checks<'a, 'v, 's, S>where
&'a Content<'v, 's, S>: UnsafeUnpin,
MemberId<<S as RangeSource>::Document, <S as RangeSource>::Generation>: UnsafeUnpin,
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
Mutably borrows from an owned value. Read more