pub struct CoSignatureBlock {
pub dimension: DimensionTag,
pub algorithm: String,
pub signer_cert_ref: String,
pub signer_pubkey: Vec<u8>,
pub chain_ref: String,
pub signature: Vec<u8>,
pub timestamp: DateTime<Utc>,
}Expand description
One independent attestation on the artifact.
Fields§
§dimension: DimensionTagThe trust dimension this block attests.
algorithm: StringSigning algorithm identifier (from the algorithm registry).
signer_cert_ref: StringEnd-certificate reference: a transparency-log sequence pointer or a key fingerprint.
signer_pubkey: Vec<u8>The signer’s public key (SPKI bytes).
chain_ref: StringReference to the signer’s root — may differ per block (cross-domain fusion needs no root cross-recognition).
signature: Vec<u8>The signature over the co-signature signing input.
timestamp: DateTime<Utc>When this attestation was produced.
Trait Implementations§
Source§impl Clone for CoSignatureBlock
impl Clone for CoSignatureBlock
Source§fn clone(&self) -> CoSignatureBlock
fn clone(&self) -> CoSignatureBlock
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 moreSource§impl Debug for CoSignatureBlock
impl Debug for CoSignatureBlock
Source§impl<'de> Deserialize<'de> for CoSignatureBlock
impl<'de> Deserialize<'de> for CoSignatureBlock
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 CoSignatureBlock
impl RefUnwindSafe for CoSignatureBlock
impl Send for CoSignatureBlock
impl Sync for CoSignatureBlock
impl Unpin for CoSignatureBlock
impl UnsafeUnpin for CoSignatureBlock
impl UnwindSafe for CoSignatureBlock
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