Package org.xrpl.xrpl4j.crypto.signing
Interface SignatureService
-
- All Superinterfaces:
TransactionSigner
,TransactionVerifier
- All Known Implementing Classes:
AbstractSignatureService
public interface SignatureService extends TransactionSigner, TransactionVerifier
Defines how to sign and verify an XRPL transaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKey
getPublicKey(KeyMetadata keyMetadata)
Accessor for the public-key corresponding to the supplied key meta-data.KeyStoreType
keyStoreType()
The type of org.xrpl4j.crypto.keystore this signer can be used with.-
Methods inherited from interface org.xrpl.xrpl4j.crypto.signing.TransactionSigner
sign, signWithBehavior
-
Methods inherited from interface org.xrpl.xrpl4j.crypto.signing.TransactionVerifier
verify
-
-
-
-
Method Detail
-
getPublicKey
PublicKey getPublicKey(KeyMetadata keyMetadata)
Accessor for the public-key corresponding to the supplied key meta-data. This method exists to support implementations that hold private-key material internally, yet need a way for external callers to determine the actual public key for signature verification or other purposes.- Parameters:
keyMetadata
- AKeyMetadata
for a key-pair.- Returns:
- A
PublicKey
.
-
keyStoreType
KeyStoreType keyStoreType()
The type of org.xrpl4j.crypto.keystore this signer can be used with.- Returns:
- A
KeyStoreType
.
-
-