Class TransactionSignatureKey

java.lang.Object
com.gemalto.idp.mobile.fasttrack.messenger.TransactionSignatureKey

public class TransactionSignatureKey extends Object
Transaction signing signature key
Since:
5.3.0
  • Constructor Details

    • TransactionSignatureKey

      public TransactionSignatureKey(@NonNull byte[] y, @NonNull byte[] p, @NonNull byte[] q, @NonNull byte[] g)
      Construct a new transaction signing signature key
      Parameters:
      y - DSA's Y attribute
      p - DSA's P attribute
      q - DSA's Q attribute
      g - DSA's G attribute
    • TransactionSignatureKey

      public TransactionSignatureKey(@NonNull String publicKeyPem)
      Construct a new transaction signing signature key
      Parameters:
      publicKeyPem - Base64 encoded String of publicKey value in PEM format
  • Method Details

    • getY

      @NonNull public byte[] getY()
      Retrieve the DSA's Y attribute
      Returns:
      DSA's Y
    • getP

      @NonNull public byte[] getP()
      Retrieve the DSA's P attribute
      Returns:
      DSA's P
    • getQ

      @NonNull public byte[] getQ()
      Retrieve the DSA's Q attribute
      Returns:
      DSA's Q
    • getG

      @NonNull public byte[] getG()
      Retrieve the DSA's G attribute
      Returns:
      DSA's G