newKeyPair method

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

Generates a new KeyPair for this algorithm.

You can pass key generation preferences by specifying options.

Implementation

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