Skip to content

VerifyCanisterSignatureOptions

Defined in: packages/pic/src/pocket-ic-types.ts:1635

Options for verifying a canister signature.

message: Uint8Array

Defined in: packages/pic/src/pocket-ic-types.ts:1639

The signed message.


publicKey: Uint8Array

Defined in: packages/pic/src/pocket-ic-types.ts:1650

The DER-encoded canister signature public key, derived from the signing canister’s ID and a seed.


rootKey: Uint8Array

Defined in: packages/pic/src/pocket-ic-types.ts:1656

The DER-encoded root key of the network, e.g. the public key of the NNS subnet, see PocketIc.getPubKey.


signature: Uint8Array

Defined in: packages/pic/src/pocket-ic-types.ts:1644

The canister signature, a CBOR-encoded certificate and hash tree.