keyPairResponse static method
Implementation
static KeyPair keyPairResponse(Uint8List data) {
var response = model.KeyPairResponse(data);
if (response.error != null && response.error != "") {
throw RSAException(response.error!);
}
var output = response.output!;
return KeyPair(output.publicKey!, output.privateKey!);
}