Class DerivedKeysSignatureService

java.lang.Object
org.xrpl.xrpl4j.crypto.signing.DerivedKeysSignatureService
All Implemented Interfaces:
SignatureService, TransactionSigner, TransactionVerifier

public class DerivedKeysSignatureService extends Object implements SignatureService
An implementation that uses an in-memory secret key in order to deterministically create a seed value that can then be used to deterministically generate XRPL private keys. Any derived key can then be used for signing XRP transactions. This implementation keeps a cache of instances of SingleKeySignatureService that it delegates to based upon KeyMetadata supplied on each call.

WARNING: This implementation stores private seed-generation material in-memory, and is thus only meant for lower-security environments. For higher security deployments, prefer an HSM-based implementation instead.