Package org.xrpl.xrpl4j.crypto.signing
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 StringAccessor for this signature as a base16-encoded (HEX) string.static ImmutableSignature.Builderbuilder()Instantiates a new builder.static SignaturefromBase16(String signatureBytesBase16) Static builder.default StringhexValue()Accessor for this signature as a base16-encoded (HEX) string.static Signatureof(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.
-