Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | export interface PkijsAlgorithmIdentifier { algorithmId: string; algorithmParams?: unknown; } export interface PkijsOctetString { valueBlock: { valueHexView: Uint8Array; }; } export interface PkijsInteger { valueBlock?: { valueHexView?: Uint8Array; }; isEqual(other: unknown): boolean; } export interface PkijsSubjectPublicKeyInfo { algorithm: PkijsAlgorithmIdentifier; importKey(publicKey: CryptoKey): Promise<void>; toSchema(): { toBER(encodeFlag?: boolean): ArrayBuffer }; } export interface PkijsCryptoEngine { digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>; getAlgorithmByOID(oid: string, safety?: boolean, target?: string): object; verifyWithPublicKey( data: BufferSource, signature: PkijsOctetString, publicKeyInfo: unknown, signatureAlgorithm: PkijsAlgorithmIdentifier, shaAlgorithm?: string ): Promise<boolean>; } export class Attribute { type: string; values: unknown[]; constructor(parameters?: unknown); } export class AttributeTypeAndValue { type: string; value: { valueBlock?: { value?: unknown; }; toString?: () => string; }; constructor(parameters?: unknown); } export class AlgorithmIdentifier { algorithmId: string; algorithmParams?: unknown; constructor(parameters?: unknown); toSchema(): { toBER(encodeFlag?: boolean): ArrayBuffer }; } export class BasicConstraints { cA: boolean; constructor(parameters?: unknown); toSchema(): { toBER(encodeFlag?: boolean): ArrayBuffer }; } export class ExtKeyUsage { keyPurposes: string[]; constructor(parameters?: unknown); toSchema(): { toBER(encodeFlag?: boolean): ArrayBuffer }; } export class Extension { extnID: string; critical: boolean; parsedValue?: unknown; constructor(parameters?: unknown); } export class RelativeDistinguishedNames { typesAndValues: AttributeTypeAndValue[]; constructor(parameters?: unknown); isEqual(compareTo: unknown): boolean; } export class Time { value: Date; constructor(parameters?: unknown); } export class Certificate { tbsView: Uint8Array; version: number; serialNumber: PkijsInteger; signatureAlgorithm: AlgorithmIdentifier; signatureValue: PkijsOctetString; issuer: RelativeDistinguishedNames; subject: RelativeDistinguishedNames; notBefore: Time; notAfter: Time; subjectPublicKeyInfo: PkijsSubjectPublicKeyInfo; extensions?: Extension[]; constructor(parameters?: unknown); getKeyHash(hashAlgorithm?: string): Promise<ArrayBuffer>; sign(privateKey: CryptoKey, hashAlgorithm?: string): Promise<void>; toSchema(encodeFlag?: boolean): { toBER(encodeFlag?: boolean): ArrayBuffer }; verify(issuerCertificate?: Certificate, crypto?: unknown): Promise<boolean>; } export function fromBER(raw: BufferSource): { offset: number; result?: unknown }; export interface PkijsSignedDataVerifyResult { code?: number; message: string; signatureVerified?: boolean | null; signerCertificateVerified?: boolean | null; } export class ContentInfo { static SIGNED_DATA: string; static fromBER(raw: BufferSource): ContentInfo; contentType: string; content?: unknown; constructor(parameters?: { contentType?: string; content?: unknown; schema?: unknown }); toSchema(): { toBER(): ArrayBuffer }; } export class EncapsulatedContentInfo { eContentType?: string; eContent?: PkijsOctetString; constructor(parameters?: unknown); } export class IssuerAndSerialNumber { issuer: RelativeDistinguishedNames; serialNumber: PkijsInteger; constructor(parameters?: unknown); } export class MessageImprint { hashAlgorithm: PkijsAlgorithmIdentifier; hashedMessage: PkijsOctetString; constructor(parameters?: unknown); } export class SignedAndUnsignedAttributes { attributes: Attribute[]; encodedValue: ArrayBuffer; constructor(parameters?: unknown); } export class SignerInfo { sid: IssuerAndSerialNumber | unknown; digestAlgorithm: PkijsAlgorithmIdentifier; signedAttrs?: SignedAndUnsignedAttributes; signatureAlgorithm: PkijsAlgorithmIdentifier; signature: PkijsOctetString; unsignedAttrs?: SignedAndUnsignedAttributes; constructor(parameters?: unknown); toSchema(): unknown; } export class SignedData { signerInfos: SignerInfo[]; certificates?: unknown[]; encapContentInfo: EncapsulatedContentInfo; constructor(parameters?: unknown); sign( privateKey: CryptoKey, signerIndex: number, hashAlgorithm?: string, data?: ArrayBuffer ): Promise<void>; toSchema(encodeFlag?: boolean): unknown; verify(params: { signer: number; data?: ArrayBuffer; checkChain: boolean; extendedMode: true; }): Promise<PkijsSignedDataVerifyResult>; } export class TSTInfo { genTime: Date; messageImprint: MessageImprint; static fromBER(raw: BufferSource): TSTInfo; constructor(parameters?: unknown); toSchema(): { toBER(encodeFlag?: boolean): ArrayBuffer }; } export const getCrypto: (safety?: boolean) => PkijsCryptoEngine | null; export const id_eContentType_TSTInfo: string; |