Skip to content

CertificatePrincipal

CertificatePrincipal = { canisterId: Principal; } | { subnetId: Principal; }

Defined in: packages/core/src/agent/certificate.ts:157

{ canisterId: Principal; }

canisterId: Principal

The effective canister ID of the request when verifying a response, or the signing canister ID when verifying a certified variable.

{ subnetId: Principal; }

subnetId: Principal

The subnet ID when verifying a certificate from a subnet.