KeyGenerator class abstract

The interface that asymmetric key generators conform to.

A KeyGenerator is used to create a pair of public and private keys.

Inheritance
Implementers

Constructors

KeyGenerator(String algorithmName)
Create the key generator specified by the standard algorithmName.
factory

Properties

algorithmName → String
Get this algorithm's standard name.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateKeyPair() → AsymmetricKeyPair<PublicKey, PrivateKey>
Generate a key pair.
init(CipherParameters params) → void
Init the generator with its initialization params. The type of CipherParameters depends on the algorithm being used (see the documentation of each implementation to find out more).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited