usage: RSAKeyPairGenerator [-a] identity passPhrase
Where identity is the name to be associated with the public key. The keys are placed in the files pub.[asc|bpg] and secret.[asc|bpg].
| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| private static final int[] | |
| private static final int | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | generateAndExportKeyRing(OutputStream secretOut, OutputStream publicOut, String identity, char[] passPhrase, boolean armor)
|
| public static void |
| COMP_PREFERENCES | back to summary |
|---|---|
| private static final int[] COMP_PREFERENCES | |
| HASH_PREFERENCES | back to summary |
|---|---|
| private static final int[] HASH_PREFERENCES | |
| SIG_HASH | back to summary |
|---|---|
| private static final int SIG_HASH | |
| SYM_PREFERENCES | back to summary |
|---|---|
| private static final int[] SYM_PREFERENCES | |
| RSAKeyPairGenerator | back to summary |
|---|---|
| public RSAKeyPairGenerator() | |
| generateAndExportKeyRing | back to summary |
|---|---|
| private static void generateAndExportKeyRing(OutputStream secretOut, OutputStream publicOut, String identity, char[] passPhrase, boolean armor) throws IOException, NoSuchProviderException, PGPException, NoSuchAlgorithmException | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception | |