We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a650f8 commit 4a6356fCopy full SHA for 4a6356f
packages/certificate-verification-js/src/index.ts
@@ -9,7 +9,7 @@ import { Principal } from '@dfinity/principal';
9
import { PipeArrayBuffer, lebDecode } from '@dfinity/candid';
10
import { CertificateTimeError, CertificateVerificationError } from './error';
11
12
-export interface CertificationParams {
+export interface VerifyCertificationParams {
13
canisterId: Principal;
14
encodedCertificate: ArrayBuffer;
15
encodedTree: ArrayBuffer;
@@ -23,7 +23,7 @@ export async function verifyCertification({
23
encodedTree,
24
rootKey,
25
maxCertificateTimeOffsetMs,
26
-}: CertificationParams): Promise<HashTree> {
+}: VerifyCertificationParams): Promise<HashTree> {
27
const certificate = await Certificate.create({
28
certificate: encodedCertificate,
29
canisterId,
0 commit comments