D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs19
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
sigstore
/
dist
/
x509
/
Filename :
sct.d.ts
back
Copy
/// <reference types="node" /> import * as sigstore from '../types/sigstore'; interface SCTOptions { version: number; logID: Buffer; timestamp: Buffer; extensions: Buffer; hashAlgorithm: number; signatureAlgorithm: number; signature: Buffer; } export declare class SignedCertificateTimestamp { readonly version: number; readonly logID: Buffer; readonly timestamp: Buffer; readonly extensions: Buffer; readonly hashAlgorithm: number; readonly signatureAlgorithm: number; readonly signature: Buffer; constructor(options: SCTOptions); get datetime(): Date; get algorithm(): string; verify(preCert: Buffer, logs: sigstore.TransparencyLogInstance[]): boolean; static parse(buf: Buffer): SignedCertificateTimestamp; } export {};