newKeyPair method
Future<RsaKeyPair>
newKeyPair({
- int modulusLength = RsaPss.defaultModulusLength,
- 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,
}) {
return fallback.newKeyPair(
modulusLength: modulusLength,
publicExponent: publicExponent,
);
}