pub struct ChainKeyDelegationCertV1 {Show 13 fields
pub root_canister_id: Principal,
pub issuer_canister_id: Principal,
pub proof_epoch: u64,
pub issuer_proof_algorithm: IssuerProofAlgorithm,
pub issuer_proof_binding_hash: [u8; 32],
pub issuer_proof_binding: IssuerProofBinding,
pub max_token_ttl_ns: u64,
pub audience: DelegationAudience,
pub grants: Vec<DelegatedRoleGrant>,
pub not_before_ns: u64,
pub expires_at_ns: u64,
pub registry_epoch: u64,
pub registry_hash: [u8; 32],
}Expand description
Issuer authority committed as a leaf in a root-signed batch. This delegates application credential authority, not IC ingress identity or resource ownership.
Fields§
§root_canister_id: PrincipalRoot authority that delegates the issuer’s permissions.
issuer_canister_id: PrincipalCanister authorized to produce the delegated issuer proofs.
proof_epoch: u64Proof generation bound to the containing batch.
issuer_proof_algorithm: IssuerProofAlgorithmPermitted issuer proof algorithm.
issuer_proof_binding_hash: [u8; 32]Canonical digest of the issuer proof binding.
issuer_proof_binding: IssuerProofBindingKey material binding that issuer proofs must satisfy.
max_token_ttl_ns: u64Maximum credential lifetime delegated to this issuer, in nanoseconds.
audience: DelegationAudienceAudience for which the delegated grants may be used.
grants: Vec<DelegatedRoleGrant>Upper bound on role/scope authority the issuer may grant.
not_before_ns: u64Delegation validity start in nanoseconds.
expires_at_ns: u64Exclusive delegation expiry in nanoseconds.
registry_epoch: u64Registry generation bound to the containing batch.
registry_hash: [u8; 32]Registry snapshot digest bound to the containing batch.