@types/ssh2-streams
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -1689,19 +1689,13 @@ // Type definitions for ssh2-streams v0.1.9 | ||
export namespace utils { | ||
export function parseKey(keyData: string | Buffer): ParsedKey | Error; | ||
export function genPublicKey(privKeyInfo: ParsedKey): ParsedKey; | ||
export function decryptKey(privKeyInfo: ParsedKey, passphrase: string): void; | ||
export function parseKey(keyData: string | Buffer, passphrase?: string): ParsedKey | {}[]; | ||
} | ||
export interface ParsedKey { | ||
fulltype: string; | ||
type: string; | ||
extra: string; | ||
comment: string; | ||
encryption: string; | ||
private: Buffer; | ||
privateOrig: Buffer; | ||
public: Buffer; | ||
publicOrig: Buffer; | ||
ppk?: boolean; | ||
privateMAC?: string; | ||
getPrivatePEM(): string; | ||
getPublicPEM(): string; | ||
getPublicSSH(): string; | ||
sign(data: string | Buffer): Buffer | Error; | ||
verify(data: string | Buffer, signature: Buffer): boolean | Error; | ||
} | ||
@@ -1708,0 +1702,0 @@ |
{ | ||
"name": "@types/ssh2-streams", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "TypeScript definitions for ssh2-streams", | ||
@@ -17,3 +17,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/ssh2-streams" | ||
}, | ||
@@ -24,4 +25,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "9d7d507c2bedadeb076cd659243d982c2e434b14d313edb9a00888352f30c621", | ||
"typesPublisherContentHash": "e69f555e4cd61f8f5e1ad69c181485b84be7d95df735e2a46ea18e97f754c590", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 28 Jan 2019 16:52:30 GMT | ||
* Last updated: Tue, 05 Mar 2019 15:28:29 GMT | ||
* Dependencies: @types/node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56520
1460