pub struct SignedTreeHead {
pub head: TreeHead,
pub key_fingerprint: String,
pub signature: String,
}Expand description
A TreeHead with the signature that makes it evidence.
Fields§
§head: TreeHeadThe head the signature is over.
key_fingerprint: StringSHA256:… of the key that signed it, so a verifier knows which key to
look up before it does any crypto.
signature: StringThe sshsig, PEM-armoured, newlines and all.
Trait Implementations§
Source§impl Clone for SignedTreeHead
impl Clone for SignedTreeHead
Source§impl Debug for SignedTreeHead
impl Debug for SignedTreeHead
Source§impl<'de> Deserialize<'de> for SignedTreeHead
impl<'de> Deserialize<'de> for SignedTreeHead
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
impl Eq for SignedTreeHead
Source§impl PartialEq for SignedTreeHead
impl PartialEq for SignedTreeHead
Source§impl Serialize for SignedTreeHead
impl Serialize for SignedTreeHead
impl StructuralPartialEq for SignedTreeHead
Auto Trait Implementations§
impl Freeze for SignedTreeHead
impl RefUnwindSafe for SignedTreeHead
impl Send for SignedTreeHead
impl Sync for SignedTreeHead
impl Unpin for SignedTreeHead
impl UnsafeUnpin for SignedTreeHead
impl UnwindSafe for SignedTreeHead
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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