Class JcaOpenPGPV6KeyGenerator
java.lang.Object
org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
org.bouncycastle.openpgp.api.jcajce.JcaOpenPGPV6KeyGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
OpenPGPV6KeyGenerator.WithPrimaryKey
-
Field Summary
Fields inherited from class org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
DEFAULT_AEAD_ALGORITHM_PREFERENCES, DEFAULT_COMPRESSION_ALGORITHM_PREFERENCES, DEFAULT_FEATURES, DEFAULT_HASH_ALGORITHM_PREFERENCES, DEFAULT_SIGNATURE_HASH_ALGORITHM, DEFAULT_SYMMETRIC_KEY_PREFERENCES, DIRECT_KEY_SIGNATURE_SUBPACKETS, ENCRYPTION_SUBKEY_SUBPACKETS, SIGNING_SUBKEY_SUBPACKETS
-
Constructor Summary
ConstructorsConstructorDescriptionJcaOpenPGPV6KeyGenerator
(int signatureHashAlgorithm, Provider provider) JcaOpenPGPV6KeyGenerator
(int signatureHashAlgorithm, Date creationTime, boolean aeadProtection, Provider provider) Create a new OpenPGP key generator for v6 keys.JcaOpenPGPV6KeyGenerator
(Provider provider) JcaOpenPGPV6KeyGenerator
(Date creationTime, Provider provider) -
Method Summary
Methods inherited from class org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
classicKey, ed25519x25519Key, ed448x448Key, signOnlyKey, signOnlyKey, signOnlyKey, withPrimaryKey, withPrimaryKey, withPrimaryKey, withPrimaryKey, withPrimaryKey, withPrimaryKey, withPrimaryKey
-
Constructor Details
-
JcaOpenPGPV6KeyGenerator
- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
public JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, Date creationTime, boolean aeadProtection, Provider provider) throws PGPException Create a new OpenPGP key generator for v6 keys.- Parameters:
signatureHashAlgorithm
- ID of the hash algorithm used for signatures on the keycreationTime
- creation time of the key and signatures- Throws:
PGPException
-