pub struct RootBatchHeader {
pub schema_version: u16,
pub root: Principal,
pub batch_id: [u8; 32],
pub proof_epoch: u64,
pub registry_epoch: u64,
pub registry_hash: [u8; 32],
pub tree_root: [u8; 32],
pub not_before_ns: u64,
pub expires_at_ns: u64,
pub key_name: String,
pub derivation_path_hash: [u8; 32],
pub key_version: u64,
}Expand description
RootBatchHeader
Root batch header for the current ECDSA/secp256k1 signing profile. Schema, key identity, epochs, tree root and time still require verification.
Fields§
§schema_version: u16Submitted schema, checked separately from canonical field encoding.
root: PrincipalClaimed root canister.
batch_id: [u8; 32]Batch identity.
proof_epoch: u64Claimed proof epoch.
registry_epoch: u64Claimed registry epoch.
registry_hash: [u8; 32]Registry commitment.
tree_root: [u8; 32]Committed Merkle root.
not_before_ns: u64Inclusive validity start.
expires_at_ns: u64Exclusive expiry.
key_name: StringUntrusted key name; the encoder bounds its UTF-8 length to 128 bytes.
derivation_path_hash: [u8; 32]Ordered derivation-path commitment.
key_version: u64Claimed key version.
Trait Implementations§
Source§impl Clone for RootBatchHeader
impl Clone for RootBatchHeader
Source§impl Debug for RootBatchHeader
impl Debug for RootBatchHeader
impl Eq for RootBatchHeader
Source§impl PartialEq for RootBatchHeader
impl PartialEq for RootBatchHeader
impl StructuralPartialEq for RootBatchHeader
Auto Trait Implementations§
impl Forget for RootBatchHeader
impl Freeze for RootBatchHeader
impl Move for RootBatchHeader
impl RefUnwindSafe for RootBatchHeader
impl Send for RootBatchHeaderwhere
RawVecInner: Send,
impl Sync for RootBatchHeaderwhere
RawVecInner: Sync,
impl Unpin for RootBatchHeader
impl UnsafeUnpin for RootBatchHeader
impl UnwindSafe for RootBatchHeaderwhere
RawVecInner: UnwindSafe,
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