pub struct TransparencyLogInstance {
pub base_url: String,
pub log_id: Value,
pub hash_algorithm: Value,
pub public_key: TransparencyLogPublicKey,
pub log_index: Value,
pub tree_id: Value,
pub extra: Map<String, Value>,
}Expand description
Single Rekor transparency log entry inside trusted_root.json.
The full Sigstore protobuf has additional metadata; cortex’s slice 1
trust-channel path only consumes the activation date and the key
bytes, so the rest is captured as serde_json::Value and round-tripped
without interpretation.
Fields§
§base_url: StringRekor API base URL.
log_id: ValuelogId.keyId base64; opaque to cortex today.
hash_algorithm: ValueHash algorithm declaration; opaque to cortex today.
public_key: TransparencyLogPublicKeyPublic key envelope; opaque except for validFor.start.
log_index: ValueRekor log shard identity (log_index, tree_size, etc.); opaque
to cortex today.
tree_id: ValueTree-id metadata; opaque to cortex today.
extra: Map<String, Value>Catch-all so a refresh from a newer schema does not drop fields.
Trait Implementations§
Source§impl Clone for TransparencyLogInstance
impl Clone for TransparencyLogInstance
Source§fn clone(&self) -> TransparencyLogInstance
fn clone(&self) -> TransparencyLogInstance
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 TransparencyLogInstance
impl Debug for TransparencyLogInstance
Source§impl<'de> Deserialize<'de> for TransparencyLogInstance
impl<'de> Deserialize<'de> for TransparencyLogInstance
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
Source§impl PartialEq for TransparencyLogInstance
impl PartialEq for TransparencyLogInstance
Source§fn eq(&self, other: &TransparencyLogInstance) -> bool
fn eq(&self, other: &TransparencyLogInstance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransparencyLogInstance
impl Serialize for TransparencyLogInstance
impl Eq for TransparencyLogInstance
impl StructuralPartialEq for TransparencyLogInstance
Auto Trait Implementations§
impl Freeze for TransparencyLogInstance
impl RefUnwindSafe for TransparencyLogInstance
impl Send for TransparencyLogInstance
impl Sync for TransparencyLogInstance
impl Unpin for TransparencyLogInstance
impl UnsafeUnpin for TransparencyLogInstance
impl UnwindSafe for TransparencyLogInstance
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