@types/node-forge
Advanced tools
@@ -281,2 +281,6 @@ /// <reference types="node" /> | ||
| interface MDSigner { | ||
| sign(md: md.MessageDigest): Bytes; | ||
| } | ||
| namespace rsa { | ||
@@ -476,6 +480,6 @@ type EncryptionScheme = "RSAES-PKCS1-V1_5" | "RSA-OAEP" | "RAW" | "NONE" | null; | ||
| * | ||
| * @param key the private key to sign with. | ||
| * @param signer the signer used to sign this csr | ||
| * @param md the message digest object to use (defaults to forge.md.sha1). | ||
| */ | ||
| sign(key: pki.PrivateKey, md?: md.MessageDigest): void; | ||
| sign(signer: MDSigner, md?: md.MessageDigest): void; | ||
| /** | ||
@@ -572,6 +576,6 @@ * Attempts verify the signature on the passed certificate using this | ||
| * | ||
| * @param key the private key to sign with. | ||
| * @param signer the signer used to sign this csr | ||
| * @param md the message digest object to use (defaults to forge.md.sha1). | ||
| */ | ||
| sign(key: pki.PrivateKey, md?: md.MessageDigest): void; | ||
| sign(signer: MDSigner, md?: md.MessageDigest): void; | ||
| /** | ||
@@ -578,0 +582,0 @@ * Attempts verify the signature on this csr using this |
| { | ||
| "name": "@types/node-forge", | ||
| "version": "1.3.12", | ||
| "version": "1.3.13", | ||
| "description": "TypeScript definitions for node-forge", | ||
@@ -106,4 +106,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-forge", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "309e7b0dcbefe0b63f3c290f3dc452555091479b3605c2f1a1b30c57d6f3181a", | ||
| "typesPublisherContentHash": "56b42ecfae2f4c537aaaa1a3ab130728f8103591da86c8109c434a334859b1fe", | ||
| "typeScriptVersion": "5.1" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Thu, 03 Jul 2025 08:02:35 GMT | ||
| * Last updated: Fri, 11 Jul 2025 22:02:30 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
63595
0.15%1415
0.21%