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