OpenSSHEcdsaKeyPair.readFrom constructor

OpenSSHEcdsaKeyPair.readFrom(
  1. SSHMessageReader reader
)

Implementation

factory OpenSSHEcdsaKeyPair.readFrom(SSHMessageReader reader) {
  final curve = reader.readUtf8();
  final q = reader.readString();
  final d = reader.readMpint();
  final comment = reader.readUtf8();
  return OpenSSHEcdsaKeyPair(curve, q, d, comment);
}