pub enum Purpose {
Content,
Signature,
ValidationData,
Archive,
}Expand description
What a timestamp proves the existence of.
Every AdES format writes these four kinds under its own names (XAdES
properties, CAdES attributes, PAdES document timestamps); the format layer
maps its own input role onto one of them.
Variants§
Content
Signed data objects, before the signature was produced.
Signature
The signature value.
ValidationData
The signature and its validation-data references.
Archive
The signature, its validation material and earlier timestamps.
Trait Implementations§
impl Copy for Purpose
impl Eq for Purpose
impl StructuralPartialEq for Purpose
Auto Trait Implementations§
impl Freeze for Purpose
impl RefUnwindSafe for Purpose
impl Send for Purpose
impl Sync for Purpose
impl Unpin for Purpose
impl UnsafeUnpin for Purpose
impl UnwindSafe for Purpose
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