Interface Signature
- All Known Implementing Classes:
ImmutableSignature
@Immutable
public interface Signature
Represents a digital signature for a transaction that can be submitted to the XRP Ledger.
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Accessor for this signature as a base16-encoded (HEX) string.static ImmutableSignature.Builder
builder()
Instantiates a new builder.static Signature
fromBase16
(String signatureBytesBase16) Static builder.default String
hexValue()
Accessor for this signature as a base16-encoded (HEX) string.static Signature
of
(UnsignedByteArray unsignedByteArray) Static builder.value()
The bytes of this signature.
-
Method Details
-
of
Static builder.- Parameters:
unsignedByteArray
- AUnsignedByteArray
.- Returns:
- A
Signature
.
-
fromBase16
Static builder. -
builder
Instantiates a new builder.- Returns:
- A
ImmutableSignature.Builder
.
-
value
UnsignedByteArray value()The bytes of this signature.- Returns:
- A
UnsignedByteArray
.
-
base16Value
Accessor for this signature as a base16-encoded (HEX) string.- Returns:
- A
String
.
-
hexValue
Accessor for this signature as a base16-encoded (HEX) string.- Returns:
- A
String
.
-