Index
All Classes and Interfaces|All Packages
C
- com.hsbc.pgp.helper - package com.hsbc.pgp.helper
D
- decryptStream(InputStream, OutputStream, List<PGPPrivateKey>, List<PGPPublicKey>) - Method in class com.hsbc.pgp.helper.PgpHelper
-
This method decrypts a stream of data (PGP message) using a list of private keys and a list of public keys.
E
- encryptAndSign(OutputStream, InputStream, PGPPublicKey, PGPPrivateKey) - Method in class com.hsbc.pgp.helper.PgpHelper
-
This method encrypts and signs a stream of data using a public key and a private key.
F
- findSecretKey(PGPSecretKey, char[]) - Method in class com.hsbc.pgp.helper.PgpHelper
-
This method finds a PGP Private key from a PGP secret key ring using a passphrase.
M
- main(String[]) - Static method in class com.hsbc.pgp.helper.TestPgpEncryptionDecryption
-
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
P
- PgpHelper - Class in com.hsbc.pgp.helper
-
This class is used to encrypt and decrypt data using PGP keys.
- PgpHelper() - Constructor for class com.hsbc.pgp.helper.PgpHelper
R
- readPublicKey(InputStream) - Method in class com.hsbc.pgp.helper.PgpHelper
-
This method reads a public key from an input stream and returns a list of PGP Public Keys.
- readSecretKey(InputStream) - Method in class com.hsbc.pgp.helper.PgpHelper
-
This method reads a secret key from an input stream and returns a list of PGP Secret Keys.
T
- TestPgpEncryptionDecryption - Class in com.hsbc.pgp.helper
-
TestPgpEncryptionDecryption runs the encryption and decryption step using user inputted values.
- TestPgpEncryptionDecryption() - Constructor for class com.hsbc.pgp.helper.TestPgpEncryptionDecryption
All Classes and Interfaces|All Packages