newKeyPair abstract method

  1. @override
Future<RsaKeyPair> newKeyPair({
  1. int modulusLength = RsaSsaPkcs1v15.defaultModulusLength,
  2. List<int> publicExponent = RsaSsaPkcs1v15.defaultPublicExponent,
})
override

Generates a new KeyPair for this algorithm.

Implementation

@override
Future<RsaKeyPair> newKeyPair({
  int modulusLength = RsaSsaPkcs1v15.defaultModulusLength,
  List<int> publicExponent = RsaSsaPkcs1v15.defaultPublicExponent,
});