Class TestPgpEncryptionDecryption

java.lang.Object
com.hsbc.pgp.helper.TestPgpEncryptionDecryption

public class TestPgpEncryptionDecryption extends Object

TestPgpEncryptionDecryption runs the encryption and decryption step using user inputted values. It uses the PgpHelper class.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The main method runs and encryption and decryption using the PgpHelper The user should replace the empty String to the inputs with: payload: path to the payload file userKeyFilePath: path to the user's private key bankKeyFilePath: path to the bank's public key password: password/pathphrase for the keys

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestPgpEncryptionDecryption

      public TestPgpEncryptionDecryption()
  • Method Details

    • main

      public static void main(String[] args) throws IOException

      The main method runs and encryption and decryption using the PgpHelper The user should replace the empty String to the inputs with: payload: path to the payload file userKeyFilePath: path to the user's private key bankKeyFilePath: path to the bank's public key password: password/pathphrase for the keys

      Parameters:
      args -
      Throws:
      IOException