Utility for generating ECDSA key pairs with customizable parameters
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
generateKeyPair(
{EcCurve curve = EcCurve.p256, SecureRandomAlgorithm randomAlgorithm = SecureRandomAlgorithm.fortuna, int seedLength = 32, bool useFixedSeed = false, Uint8List? seed, String blockCipherName = 'AES'}) → AsymmetricKeyPair< ECPublicKey, ECPrivateKey> - Generates an ECDSA key pair using the specified parameters
-
generateKeyPairAsPem(
{EcCurve curve = EcCurve.p256, SecureRandomAlgorithm randomAlgorithm = SecureRandomAlgorithm.fortuna, int seedLength = 32, bool withPrivateHeader = true, bool useFixedSeed = false, Uint8List? seed, String blockCipherName = 'AES'}) → LicensifyKeyPair - Returns a pair of ECDSA keys in PEM format