The key store can be created using the class in org.bouncycastle.jce.examples.PKCS12Example - the program expects only one key to be present in the key file.
Note
while this means that both the private key is available to the program, the private key is retrieved from the keystore only for the purposes of locating the corresponding public key, in normal circumstances you would only be doing this with a certificate available.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void |
| CreateLargeEncryptedMail | back to summary |
|---|---|
| public CreateLargeEncryptedMail() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception | |