pub struct TsaTimestamp {
pub tsa_url: String,
pub timestamp: String,
pub token: String,
}Expand description
TSA timestamp
Fields§
§tsa_url: String§timestamp: String§token: StringImplementations§
Source§impl TsaTimestamp
impl TsaTimestamp
Sourcepub fn inspect_token(&self) -> TsaTokenInspection
pub fn inspect_token(&self) -> TsaTokenInspection
Best-effort validation/inspection of stored TSA token encoding and timestamp extraction.
This does not perform CMS/PKCS#7 signature validation.
pub fn verify_cms_signature_with_pem_roots( &self, _trust_store_pem: &[u8], ) -> Result<TsaCmsVerification, TsaCmsVerifyError>
Trait Implementations§
Source§impl Clone for TsaTimestamp
impl Clone for TsaTimestamp
Source§fn clone(&self) -> TsaTimestamp
fn clone(&self) -> TsaTimestamp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TsaTimestamp
impl Debug for TsaTimestamp
Source§impl<'de> Deserialize<'de> for TsaTimestamp
impl<'de> Deserialize<'de> for TsaTimestamp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TsaTimestamp
impl RefUnwindSafe for TsaTimestamp
impl Send for TsaTimestamp
impl Sync for TsaTimestamp
impl Unpin for TsaTimestamp
impl UnsafeUnpin for TsaTimestamp
impl UnwindSafe for TsaTimestamp
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