Ed25519PublicKey class

Implementation of Ed25519 public key

Implemented types

Constructors

Ed25519PublicKey.new(SimplePublicKey _key)
Ed25519PublicKey.fromRawBytes(Uint8List bytes)
Creates an Ed25519PublicKey from raw bytes
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 Ed25519PublicKey from its protobuf bytes