EcdsaParamsConverter class abstract

Utility for converting ECDSA parameters to PEM format

Provides methods to create PEM-formatted key strings from raw ECDSA parameters like coordinates and curve information

Constructors

EcdsaParamsConverter()

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

derivePublicKeyBase64Coordinates({required String dBase64, required String curveName}) Map<String, String>
Calculates public key coordinates from private key in base64 format
derivePublicKeyCoordinates({required String d, required String curveName}) Map<String, String>
Calculates public key coordinates from private key and curve
privateKeyFromBase64Scalar({required String dBase64, required String curveName}) String
Creates PEM-formatted private key from private scalar in base64 format
privateKeyFromScalar({required String d, required String curveName}) String
Creates PEM-formatted private key from private scalar and curve name
publicKeyFromBase64Coordinates({required String xBase64, required String yBase64, required String curveName}) String
Creates PEM-formatted public key from x and y coordinates in base64 format
publicKeyFromCoordinates({required String x, required String y, required String curveName}) String
Creates PEM-formatted public key from x and y coordinates and curve name