EcdsaPublicKey class

Implementation of ECDSA public key

Implemented types

Constructors

EcdsaPublicKey(ECPublicKey _key)
EcdsaPublicKey.fromRawBytes(Uint8List bytes)
Creates an EcdsaPublicKey from raw bytes (DER encoded)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
raw → Uint8List
Returns the key's raw bytes
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → KeyType
Returns the key's type
no setteroverride

Methods

equals(PublicKey other) → Future<bool>
Checks if this public key is equal to another
override
marshal() → Uint8List
Returns the protobuf bytes of the key
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
verify(Uint8List data, Uint8List signature) → Future<bool>
Verifies a signature against the given data
override

Operators

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

Static Methods

unmarshal(Uint8List bytes) → PublicKey
Creates an EcdsaPublicKey from its protobuf bytes