Struct ic_certification::certificate::Certificate
source · pub struct Certificate<'a> {
pub tree: HashTree<'a>,
pub signature: Vec<u8>,
pub delegation: Option<Delegation>,
}Expand description
A Certificate as defined in https://internetcomputer.org/docs/current/references/ic-interface-spec/#certificate
Fields§
§tree: HashTree<'a>The hash tree.
signature: Vec<u8>The signature of the root hash in tree.
delegation: Option<Delegation>A delegation from the root key to the key used to sign signature, if one exists.
Trait Implementations§
source§impl<'a> Debug for Certificate<'a>
impl<'a> Debug for Certificate<'a>
source§impl<'de, 'a> Deserialize<'de> for Certificate<'a>
impl<'de, 'a> Deserialize<'de> for Certificate<'a>
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