Skip to main content

Signed

Struct Signed 

Source
pub struct Signed<N, D, G> { /* private fields */ }
Expand description

Selected original roles authenticated by the bound signature’s full coverage.

This is a structural reading, not a baseline-level assertion: SigningTime lexical validation, certificate digest binding, and optional property content checks remain necessary. Unknown foreign-namespace extensions are retained for explicit processing, never silently interpreted as known properties.

Implementations§

Source§

impl<N: Copy, D: Copy, G: Copy> Signed<N, D, G>

Source

pub fn snapshot(&self) -> Snapshot<D, G>

Original source generation carrying all selected properties.

Source

pub fn signature(&self) -> N

Exact selected signature authenticating these original properties.

Source

pub fn parent(&self) -> N

Original SignedSignatureProperties node.

Source

pub fn signing_time(&self) -> N

Original claimed SigningTime; no UTC/trust claim is made by this reading.

Source

pub fn signing_certificate(&self) -> N

Original mandatory SigningCertificateV2, before its PKI binding check.

Source

pub fn policy(&self) -> Option<N>

Original optional policy identifier, before policy-content validation.

Source

pub fn place(&self) -> Option<N>

Original optional SignatureProductionPlaceV2.

Source

pub fn role(&self) -> Option<N>

Original optional SignerRoleV2.

Source

pub fn extensions(&self) -> &[N]

Original foreign-namespace extension identities, in document order.

Source

pub fn data_objects(&self) -> Option<&DataObjects<N>>

Original optional signed data-object property catalogue. Empty and absent remain distinct; no timestamp or referenced-object assertion is inferred.

Auto Trait Implementations§

§

impl<N, D, G> !Freeze for Signed<N, D, G>

§

impl<N, D, G> Forget for Signed<N, D, G>

§

impl<N, D, G> RefUnwindSafe for Signed<N, D, G>

§

impl<N, D, G> Send for Signed<N, D, G>
where Snapshot<D, G>: Send, N: Send, Option<N>: Send, OwnedVec<N>: Send, Option<DataObjects<N>>: Send,

§

impl<N, D, G> Sync for Signed<N, D, G>
where Snapshot<D, G>: Sync, N: Sync, Option<N>: Sync, OwnedVec<N>: Sync, Option<DataObjects<N>>: Sync,

§

impl<N, D, G> Unpin for Signed<N, D, G>
where Snapshot<D, G>: Unpin, N: Unpin, Option<N>: Unpin, OwnedVec<N>: Unpin, Option<DataObjects<N>>: Unpin,

§

impl<N, D, G> UnsafeUnpin for Signed<N, D, G>

§

impl<N, D, G> UnwindSafe for Signed<N, D, G>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.