Constructors
Private constructor
- new Certificate(certificate: ArrayBuffer, _rootKey: ArrayBuffer, _canisterId: Principal, _blsVerify: VerifyFunc, _maxAgeInMinutes?: number, certTime?: Date): Certificate
Parameters
certificate: ArrayBuffer
_rootKey: ArrayBuffer
_canisterId: Principal
_blsVerify: VerifyFunc
_maxAgeInMinutes: number = 5
Optional certTime: Date
Properties
Private Optional #certTime
#certTime?: Date
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}