pub struct HttpTimestampClient;Expand description
HTTP-based implementation of TimestampClient for RFC 3161 timestamp authority operations.
Submits data to a configured TSA endpoint and returns the RFC 3161 timestamp token. Supports graceful degradation if TSA is unavailable and fallback_on_error is enabled.
Implementations§
Trait Implementations§
Source§impl Default for HttpTimestampClient
impl Default for HttpTimestampClient
Source§impl TimestampClient for HttpTimestampClient
impl TimestampClient for HttpTimestampClient
Source§fn timestamp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
config: &'life2 TimestampConfig,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, OidcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn timestamp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
config: &'life2 TimestampConfig,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, OidcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create an RFC 3161 timestamp for the given data. Read more
Auto Trait Implementations§
impl Freeze for HttpTimestampClient
impl RefUnwindSafe for HttpTimestampClient
impl Send for HttpTimestampClient
impl Sync for HttpTimestampClient
impl Unpin for HttpTimestampClient
impl UnsafeUnpin for HttpTimestampClient
impl UnwindSafe for HttpTimestampClient
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