pub struct DeterministicTimestampAuthority { /* private fields */ }Expand description
Deterministic timestamp authority for tests and fixtures.
This is not an RFC 3161 implementation. It creates stable opaque bytes so the XAdES-T structure and message-imprint flow can be tested without enabling network access.
Implementations§
Trait Implementations§
Source§impl Clone for DeterministicTimestampAuthority
impl Clone for DeterministicTimestampAuthority
Source§fn clone(&self) -> DeterministicTimestampAuthority
fn clone(&self) -> DeterministicTimestampAuthority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for DeterministicTimestampAuthority
Source§impl PartialEq for DeterministicTimestampAuthority
impl PartialEq for DeterministicTimestampAuthority
Source§fn eq(&self, other: &DeterministicTimestampAuthority) -> bool
fn eq(&self, other: &DeterministicTimestampAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeterministicTimestampAuthority
Source§impl TimestampAuthorityClient for DeterministicTimestampAuthority
impl TimestampAuthorityClient for DeterministicTimestampAuthority
fn timestamp(&self, request: &TimestampRequest) -> XmlResult<TimestampToken>
fn verify( &self, request: &TimestampRequest, token: &TimestampToken, ) -> XmlResult<bool>
Auto Trait Implementations§
impl Freeze for DeterministicTimestampAuthority
impl RefUnwindSafe for DeterministicTimestampAuthority
impl Send for DeterministicTimestampAuthority
impl Sync for DeterministicTimestampAuthority
impl Unpin for DeterministicTimestampAuthority
impl UnsafeUnpin for DeterministicTimestampAuthority
impl UnwindSafe for DeterministicTimestampAuthority
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