ClSignature class

Cryptographic signature of a data.

Constructors

ClSignature(Uint8List bytes, KeyAlgorithm keyAlgorithm)
ClSignature.fromBytes(Uint8List signature, KeyAlgorithm algorithm)
Creates a Signature object from a byte array and a key algorithm.
factory
ClSignature.fromBytesWithAlgorithmIdentifier(Uint8List bytes)
Creates a Signature object from a byte array that includes the key algorithm identifier byte as the first byte.
factory
ClSignature.fromHex(String hexStr)
Creates a ClSignature object from a hexadecimal string representation. The hexadecimal string is prefixed with keyAlgorithm.identifierByteHex.
factory

Properties

bytes Uint8List
Byte array of the signature without the key algorithm identifier.
getter/setter pair
bytesWithKeyAlgorithmIdentifier Uint8List
Returns a byte array that includes the key algorithm identifier byte 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 signature.
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
toHex() String
Returns a hexadecimal string representation of the signature that includes the key algorithm identifier byte as the first two chars.
toString() String
A string representation of this object.
override

Operators

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