Interface TransactionVerifier

All Known Subinterfaces:
SignatureService
All Known Implementing Classes:
AbstractSignatureService

public interface TransactionVerifier
Defines how to verify an XRPL transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Transaction>
    boolean
    verify(KeyMetadata keyMetadata, SignedTransaction<T> transactionWithSignature)
    TransactionVerifier the supplied digital-signature to ensure that it was constructed using the private-key corresponding to publicKey.
  • Method Details

    • verify

      <T extends Transaction> boolean verify(KeyMetadata keyMetadata, SignedTransaction<T> transactionWithSignature)
      TransactionVerifier the supplied digital-signature to ensure that it was constructed using the private-key corresponding to publicKey.
      Type Parameters:
      T - The actual type of Transaction.
      Parameters:
      keyMetadata - A KeyMetadata that describes the public/private Keypair to use for verification.
      transactionWithSignature - A SignedTransaction with a Signature over a supplied Transaction.
      Returns:
      true if the signature is valid and verified; false otherwise.