pub struct CheckedPathCertificate<'view, 'document, N, D, G> { /* private fields */ }Expand description
Selected original signing certificate and every original path digest. The first digest is computed once, then reused by the selected-key receipt; root composition need not call the standalone first-entry checker again.
Implementations§
Source§impl<'view, 'document, N, D, G> CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> CheckedPathCertificate<'view, 'document, N, D, G>
Sourcepub fn selected(&self) -> &CheckedCertificate<'view, 'document, N, D, G>
pub fn selected(&self) -> &CheckedCertificate<'view, 'document, N, D, G>
Actual selected certificate/key/digest facts from this same invocation.
Sourcepub fn digests(&self) -> &PathDigests<'view, 'document, N, D, G>
pub fn digests(&self) -> &PathDigests<'view, 'document, N, D, G>
All declared original digest restrictions and the actual checked path.
Trait Implementations§
Source§impl<'view, 'document, N: Copy, D: Copy, G: Copy> SignerReceipt<'view, 'document> for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N: Copy, D: Copy, G: Copy> SignerReceipt<'view, 'document> for CheckedPathCertificate<'view, 'document, N, D, G>
Source§type Generation = G
type Generation = G
Exact document generation.
Source§fn signature(&self) -> Location<N, D, G>
fn signature(&self) -> Location<N, D, G>
The selected signature in its exact source generation.
Source§fn path(&self) -> Option<&'view CheckedPath<'document>>
fn path(&self) -> Option<&'view CheckedPath<'document>>
The checked signer path, or
None when the format has not established
the signing certificate or its signed path restrictions.Auto Trait Implementations§
impl<'view, 'document, N, D, G> !Freeze for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> !RefUnwindSafe for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> !Send for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> !Sync for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> !UnwindSafe for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> Forget for CheckedPathCertificate<'view, 'document, N, D, G>
impl<'view, 'document, N, D, G> Unpin for CheckedPathCertificate<'view, 'document, N, D, G>where
CheckedCertificate<'view, 'document, N, D, G>: Unpin,
PathDigests<'view, 'document, N, D, G>: Unpin,
impl<'view, 'document, N, D, G> UnsafeUnpin for CheckedPathCertificate<'view, 'document, N, D, G>where
CheckedCertificate<'view, 'document, N, D, G>: UnsafeUnpin,
PathDigests<'view, 'document, N, D, G>: 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