Type Alias ic_agent::Certificate
source · pub type Certificate = Certificate<Vec<u8, Global>>;Expand description
A Certificate as defined in https://internetcomputer.org/docs/current/references/ic-interface-spec/#certificate
Aliased Type§
struct Certificate {
pub tree: HashTree<Vec<u8, Global>>,
pub signature: Vec<u8, Global>,
pub delegation: Option<Delegation<Vec<u8, Global>>>,
}Fields§
§tree: HashTree<Vec<u8, Global>>The hash tree.
signature: Vec<u8, Global>The signature of the root hash in tree.
delegation: Option<Delegation<Vec<u8, Global>>>A delegation from the root key to the key used to sign signature, if one exists.