The KeyPairManager class contains a set of functions to manage private and public SSH keys.

The KeyPairManager class defines the following methods.

Method

Returns

Description

changePassphrase(Path,SecureString,SecureString):Object

Object

Changes the passphrase of a private key.

generateKeyPair(string,Path,SecureString,number, string):string

String

Generates a pair of a public and a private key. Returns the generated key fingerprint.