ClPublicKey class

Constructors

ClPublicKey(Uint8List bytes, KeyAlgorithm keyAlgorithm)
Creates a ClPublicKey object from a byte array and a chosen key algorithm. bytes parameter does not include the key algorithm identifier byte.
ClPublicKey.fromHex(String hex)
Creates a ClPublicKey object from a hexadecimal string representation of bytes. hex includes the key algorithm identifier byte as the first byte.
factory

Properties

accountHash String
Returns prefixed account hash key
no setter
accountHex String
no setter
bytes Uint8List
Byte array of the public key without the key algorithm identifier.
getter/setter pair
bytesWithKeyAlgorithmIdentifier Uint8List
Byte array of the public key, including the key algorithm identifier as the first byte.
no setter
hashCode int
The hash code for this object.
no setterinherited
keyAlgorithm KeyAlgorithm
The key algorithm used to generate the public key.
getter/setter pair
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
toString() String
A string representation of this object.
override
verify(Uint8List message, Uint8List signatureBytes) Future<bool>

Operators

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