PublicKey class

PublicKey contains a public key byte array for a particular CurveType encoded in hex. Note that there is no PrivateKey struct as this is NEVER the concern of an implementation.

Annotations

Constructors

PublicKey(String hexBytes, String curveType)
const
PublicKey.fromJson(Map<String, dynamic> map)
factory

Properties

curveType String
final
hashCode int
The hash code for this object.
no setterinherited
hexBytes String
Hex-encoded public key bytes in the format specified by the CurveType.
final
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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