newKeyPair 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.

You can pass key generation preferences by specifying options.

Implementation

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