deserialize method

  1. @override
void deserialize(
  1. SerializableInput input
)
override

Interface for intput serialization.

Implementation

@override
void deserialize(SerializableInput input) {
  keytype = deserializeString(input);
  if (keytype != 'ssh-rsa') throw FormatException('$keytype');
  n = deserializeMpInt(input);
  e = deserializeMpInt(input);
  d = deserializeMpInt(input);
  iqmp = deserializeMpInt(input);
  p = deserializeMpInt(input);
  q = deserializeMpInt(input);
  comment = deserializeString(input);
}