EcdsaPrivateKey class Null safety

Annotations

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

exportJsonWebKey() Future<Map<String, dynamic>>
exportPkcs8Key() Future<Uint8List>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
signBytes(List<int> data, Hash hash) Future<Uint8List>
TODO: Document that this returns the raw signature format specified in the webcrypto specification. Which is R + S as two raw big endian integers zero padded to fill N bytes. Where N is the number of bytes required to encode the order of the base points of the curve.
signStream(Stream<List<int>> data, Hash hash) Future<Uint8List>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

generateKey(EllipticCurve curve) Future<KeyPair<EcdsaPrivateKey, EcdsaPublicKey>>
importJsonWebKey(Map<String, dynamic> jwk, EllipticCurve curve) Future<EcdsaPrivateKey>
importPkcs8Key(List<int> keyData, EllipticCurve curve) Future<EcdsaPrivateKey>