mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[node] Add missing getFips to crypto (#47298)
Co-authored-by: Dzmitry Siamihradski <dsiamihradski@evolutiongaming.com>
This commit is contained in:
parent
061b37dbd6
commit
cd362563e8
1
types/node/v10/ts3.1/crypto.d.ts
vendored
1
types/node/v10/ts3.1/crypto.d.ts
vendored
@ -228,6 +228,7 @@ declare module "crypto" {
|
||||
function publicDecrypt(public_key: string | RsaPublicKey, buffer: Buffer | NodeJS.TypedArray | DataView): Buffer;
|
||||
function getCiphers(): string[];
|
||||
function getCurves(): string[];
|
||||
function getFips(): 1 | 0;
|
||||
function getHashes(): string[];
|
||||
class ECDH {
|
||||
static convertKey(
|
||||
|
||||
1
types/node/v11/ts3.1/crypto.d.ts
vendored
1
types/node/v11/ts3.1/crypto.d.ts
vendored
@ -379,6 +379,7 @@ declare module "crypto" {
|
||||
function publicDecrypt(public_key: RsaPublicKey | KeyLike, buffer: Binary): Buffer;
|
||||
function getCiphers(): string[];
|
||||
function getCurves(): string[];
|
||||
function getFips(): 1 | 0;
|
||||
function getHashes(): string[];
|
||||
class ECDH {
|
||||
private constructor();
|
||||
|
||||
1
types/node/v12/ts3.1/crypto.d.ts
vendored
1
types/node/v12/ts3.1/crypto.d.ts
vendored
@ -402,6 +402,7 @@ declare module "crypto" {
|
||||
function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
|
||||
function getCiphers(): string[];
|
||||
function getCurves(): string[];
|
||||
function getFips(): 1 | 0;
|
||||
function getHashes(): string[];
|
||||
class ECDH {
|
||||
private constructor();
|
||||
|
||||
1
types/node/v13/ts3.1/crypto.d.ts
vendored
1
types/node/v13/ts3.1/crypto.d.ts
vendored
@ -403,6 +403,7 @@ declare module "crypto" {
|
||||
function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
|
||||
function getCiphers(): string[];
|
||||
function getCurves(): string[];
|
||||
function getFips(): 1 | 0;
|
||||
function getHashes(): string[];
|
||||
class ECDH {
|
||||
private constructor();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user