UNPKG

pure-js-sftp

Version:

A pure JavaScript SFTP client with revolutionary RSA-SHA2 compatibility fixes. Zero native dependencies, built on ssh2-streams with 100% SSH key support.

14 lines 501 B
interface ParsedKey { type: string; comment: string; sign(data: Buffer, algorithm?: string): Buffer; verify(data: Buffer, signature: Buffer, algorithm?: string): boolean; isPrivateKey(): boolean; getPrivatePEM(): string; getPublicPEM(): string; getPublicSSH(): Buffer; equals(other: ParsedKey): boolean; } export declare function parseKey(keyData: string | Buffer, passphrase?: string): ParsedKey | null; export {}; //# sourceMappingURL=enhanced-key-parser.d.ts.map