encodePuttyPrivateKey method

String encodePuttyPrivateKey(
  1. String passphrase
)

Encode into the PuTTY Private Key format.

Implementation

String encodePuttyPrivateKey(String passphrase) {
  final e = _encodePuttyPrivateParts();

  return PuttyPrivateKey(
          e.keyType, 'none', e.publicBytes, e.privateBytes, e.comment)
      .encode(passphrase);
}