Class JcaOpenPGPKeyGenerator
java.lang.Object
org.bouncycastle.openpgp.api.AbstractOpenPGPKeySignatureGenerator
org.bouncycastle.openpgp.api.OpenPGPKeyGenerator
org.bouncycastle.openpgp.api.jcajce.JcaOpenPGPKeyGenerator
JCA/JCE implementation of the
OpenPGPKeyGenerator
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bouncycastle.openpgp.api.OpenPGPKeyGenerator
OpenPGPKeyGenerator.WithPrimaryKey
-
Field Summary
Fields inherited from class org.bouncycastle.openpgp.api.AbstractOpenPGPKeySignatureGenerator
defaultAeadAlgorithmPreferences, defaultCompressionAlgorithmPreferences, defaultFeatures, defaultHashAlgorithmPreferences, defaultSymmetricKeyPreferences, directKeySignatureSubpackets, encryptionSubkeySubpackets, signingSubkeySubpackets
-
Constructor Summary
ConstructorsConstructorDescriptionJcaOpenPGPKeyGenerator
(int version, Provider provider) JcaOpenPGPKeyGenerator
(int version, Date creationTime, boolean aeadProtection, Provider provider) Create a new OpenPGP key generator for v6 keys.JcaOpenPGPKeyGenerator
(int version, Date creationTime, Provider provider) -
Method Summary
Methods inherited from class org.bouncycastle.openpgp.api.OpenPGPKeyGenerator
classicKey, ed25519x25519Key, ed448x448Key, signOnlyKey, withPrimaryKey, withPrimaryKey, withPrimaryKey
Methods inherited from class org.bouncycastle.openpgp.api.AbstractOpenPGPKeySignatureGenerator
setDefaultAeadAlgorithmPreferences, setDefaultCompressionAlgorithmPreferences, setDefaultFeatures, setDefaultHashAlgorithmPreferences, setDefaultSymmetricKeyPreferences, setDirectKeySignatureSubpackets, setEncryptionSubkeySubpackets, setSigningSubkeySubpackets
-
Constructor Details
-
JcaOpenPGPKeyGenerator
- Throws:
PGPException
-
JcaOpenPGPKeyGenerator
public JcaOpenPGPKeyGenerator(int version, Date creationTime, Provider provider) throws PGPException - Throws:
PGPException
-
JcaOpenPGPKeyGenerator
public JcaOpenPGPKeyGenerator(int version, Date creationTime, boolean aeadProtection, Provider provider) throws PGPException Create a new OpenPGP key generator for v6 keys.- Parameters:
creationTime
- creation time of the key and signatures- Throws:
PGPException
-