Signature class

Implementers

Constructors

Signature.fromASN1(List<int> asn1Bytes)
parsing the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1
Signature.fromASN1Hex(String asn1Hex)
parsing the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1
Signature.fromCompact(List<int> compactBytes)
Signature.fromCompactHex(String compactHex)
Signature.fromDER(List<int> asn1Bytes)
fromDER is same to fromASN1 parsing the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1
Signature.fromDERHex(String asn1Hex)
fromDERHex is same to fromASN1Hex parsing the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1
Signature.fromRS(BigInt R, BigInt S)

Properties

hashCode int
The hash code for this object.
no setterinherited
R BigInt
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
S BigInt
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toASN1() List<int>
toASN1Hex() String
toCompact() List<int>
toCompactHex() String
toDER() List<int>
toDER equals to toASN1, serializing the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1
toDERHex() String
toDERHex equals to toASN1Hex
toString() String
toString equals to toASN1Hex or toDERHex, because the ASN1 is recommended in paper
override

Operators

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