Package com.hsbc.pgp.helper
Class TestPgpEncryptionDecryption
java.lang.Object
com.hsbc.pgp.helper.TestPgpEncryptionDecryption
TestPgpEncryptionDecryption runs the encryption and decryption step using user inputted values.
It uses the PgpHelper
class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
The main method runs and encryption and decryption using thePgpHelper
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
-
Constructor Details
-
TestPgpEncryptionDecryption
public TestPgpEncryptionDecryption()
-
-
Method Details
-
main
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
-