encodePuttyPrivateKey method Null safety

String encodePuttyPrivateKey (
  1. String passphrase
)

Encode into the PuTTY Private Key format.

Implementation

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

  final container = PuttyPrivateKey(
      e.keyType, 'none', e.publicBytes, e.privateBytes, e.comment);

  return container.encode(passphrase);
  // TODO
}