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 OpenPGPKeyGenerator
OpenPGPKeyGenerator.WithPrimaryKey -
Field Summary
Fields inherited from class 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 OpenPGPKeyGenerator
classicKey, compositeRSAKey, ed25519x25519Key, ed448x448Key, mlDsa65Ed25519MlKem768X25519Key, mlDsa87Ed448MlKem1024X448Key, signOnlyKey, singletonRSAKey, slhDsaShake128fMlKem768X25519Key, slhDsaShake128sMlKem768X25519Key, slhDsaShake256sMlKem1024X448Key, withPrimaryKey, withPrimaryKey, withPrimaryKeyMethods inherited from class 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
-