deserialize method
Interface for intput serialization.
Implementation
@override
void deserialize(SerializableInput input) {
userName = deserializeString(input);
serviceName = deserializeString(input);
methodName = deserializeString(input);
if (methodName == 'publickey') {
input.getUint8();
algoName = deserializeString(input);
secret = deserializeStringBytes(input);
sig = deserializeStringBytes(input);
} else if (methodName == 'password') {
input.getUint8();
secret = deserializeStringBytes(input);
} else if (methodName == 'keyboard-interactive') {
deserializeString(input);
deserializeString(input);
}
}