pub struct TrustListSource {
pub uri: String,
pub source_type: String,
pub identifier: Option<String>,
pub certificates_pem: String,
pub not_before: Option<String>,
pub not_after: Option<String>,
}Expand description
One caller-supplied trust list with provenance retained for C2PA 2.5 crJSON.
uri identifies the list and is never fetched. source_type is emitted as
the required type member. Only a source whose certificate actually
accepted the claim signer or timestamp signer may be reported.
Fields§
§uri: StringURI identifying this trust list. It need not be resolvable.
source_type: StringStandard trust-list type, read from the type JSON member.
identifier: Option<String>Optional list-specific identifier.
certificates_pem: StringPEM certificates supplied by this source.
not_before: Option<String>Inclusive RFC 3339 start of this source’s trust window.
not_after: Option<String>Inclusive RFC 3339 end of this source’s trust window.
Trait Implementations§
Source§impl Clone for TrustListSource
impl Clone for TrustListSource
Source§impl Debug for TrustListSource
impl Debug for TrustListSource
Source§impl<'de> Deserialize<'de> for TrustListSource
impl<'de> Deserialize<'de> for TrustListSource
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 TrustListSource
impl RefUnwindSafe for TrustListSource
impl Send for TrustListSource
impl Sync for TrustListSource
impl Unpin for TrustListSource
impl UnsafeUnpin for TrustListSource
impl UnwindSafe for TrustListSource
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