Constructors
Private constructor
- new Certificate(certificate: ArrayBuffer, _rootKey: ArrayBuffer, _canisterId: Principal, _blsVerify: VerifyFunc, _maxAgeInMinutes?: number): Certificate
Parameters
certificate: ArrayBuffer
_rootKey: ArrayBuffer
_canisterId: Principal
_blsVerify: VerifyFunc
_maxAgeInMinutes: number = 5
Methods
Private _checkDelegationAndGetKey
- _checkDelegationAndGetKey(d?: Delegation): Promise<ArrayBuffer>
Parameters
Returns Promise<ArrayBuffer>
lookup
Parameters
path: (string | ArrayBuffer)[]
Static Private createUnverified
Create a new instance of a certificate, automatically verifying it. Throws a CertificateVerificationError if the certificate cannot be verified.
Certificate
{CertificateVerificationError}