pub struct ChainKeyBatchHeaderV1 {Show 13 fields
pub schema_version: u16,
pub root_canister_id: 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 algorithm: ChainKeyAlgorithm,
pub key_id: ChainKeyKeyId,
pub derivation_path_hash: [u8; 32],
pub key_version: u64,
}Expand description
Canonically signed batch header; all identities and epochs remain untrusted until matched against the host’s protected root policy.
Fields§
§schema_version: u16Schema discriminator for the batch’s canonical encoding.
root_canister_id: PrincipalClaimed root authority canister, compared with protected enrollment.
batch_id: [u8; 32]Root-assigned identifier distinguishing this batch.
proof_epoch: u64Proof generation, subject to the host’s minimum accepted epoch.
registry_epoch: u64Registry generation, subject to the host’s minimum accepted epoch.
registry_hash: [u8; 32]Digest binding this batch to the root’s registry snapshot.
tree_root: [u8; 32]Merkle root against which issuer inclusion is verified.
not_before_ns: u64Validity start in nanoseconds, checked with explicit host skew policy.
expires_at_ns: u64Exclusive batch expiry in nanoseconds.
algorithm: ChainKeyAlgorithmSignature algorithm that must match the enrolled root key.
key_id: ChainKeyKeyIdNetwork key identifier that must match enrollment and signature metadata.
derivation_path_hash: [u8; 32]Canonical digest of the root signature’s derivation path.
key_version: u64Root key generation, checked against the enrolled version and lower bound.