generateAccountPEMKeyPair method
Generates and stores the account key pair.
- If
force
istrue
overwrites any current key pair.
Implementation
@override
Future<PEMKeyPair?> generateAccountPEMKeyPair({bool force = false}) async {
var filePrivateKey = fileAccountPrivateKeyPEM();
var filePublicKey = fileAccountPublicKeyPEM();
return _generateStoredKeyPair(filePrivateKey, filePublicKey, force);
}