OpenSSHEd25519KeyPair.readFrom constructor

OpenSSHEd25519KeyPair.readFrom(
  1. SSHMessageReader reader
)

Implementation

factory OpenSSHEd25519KeyPair.readFrom(SSHMessageReader reader) {
  final publicKey = reader.readString();
  final privateKey = reader.readString();
  final comment = reader.readUtf8();
  return OpenSSHEd25519KeyPair(publicKey, privateKey, comment);
}