EcdhPublicKey class abstract

Annotations
  • @sealed

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

exportJsonWebKey() Future<Map<String, dynamic>>
exportRawKey() Future<Uint8List>
exportSpkiKey() Future<Uint8List>
Note: Due to bug in Chrome/BoringSSL, SPKI keys exported from Firefox < 72 cannot be imported in Chrome/BoringSSL. See compatibility section in EcdhPublicKey.importSpkiKey.
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

importJsonWebKey(Map<String, dynamic> jwk, EllipticCurve curve) Future<EcdhPublicKey>
importRawKey(List<int> keyData, EllipticCurve curve) Future<EcdhPublicKey>
TODO: find out of this works on Firefox
importSpkiKey(List<int> keyData, EllipticCurve curve) Future<EcdhPublicKey>
Compatibility