TypeScript: add missing config options to the type definitions (#1385)

This commit is contained in:
Lucas Longarini
2021-07-23 05:07:07 -06:00
committed by GitHub
parent 7ebdd6a2a6
commit 3cd61ff1b4

10
openpgp.d.ts vendored
View File

@@ -326,6 +326,16 @@ interface Config {
commentString: string;
allowInsecureDecryptionWithSigningKeys: boolean;
v5Keys: boolean;
preferredAEADAlgorithm: enums.aead;
aeadChunkSizeByte: number;
s2kIterationCountByte: number;
minBytesForWebCrypto: number;
maxUserIDLength: number;
knownNotations: string[];
useIndutnyElliptic: boolean;
rejectHashAlgorithms: Set<enums.hash>;
rejectMessageHashAlgorithms: Set<enums.hash>;
rejectPublicKeyAlgorithms: Set<enums.publicKey>;
}
export var config: Config;