Type Alias ic_agent::Certificate
source · pub type Certificate = Certificate<Vec<u8>>;
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>>,
pub signature: Vec<u8>,
pub delegation: Option<Delegation<Vec<u8>>>,
}
Fields§
§tree: HashTree<Vec<u8>>
The hash tree.
signature: Vec<u8>
The signature of the root hash in tree
.
delegation: Option<Delegation<Vec<u8>>>
A delegation from the root key to the key used to sign signature
, if one exists.