public class BcOpenPGPKeyGenerator extends OpenPGPKeyGenerator
OpenPGPKeyGenerator.OpenPGPKeyGenerator.WithPrimaryKeydefaultAeadAlgorithmPreferences, defaultCompressionAlgorithmPreferences, defaultFeatures, defaultHashAlgorithmPreferences, defaultSymmetricKeyPreferences, directKeySignatureSubpackets, encryptionSubkeySubpackets, signingSubkeySubpackets| Constructor and Description |
|---|
BcOpenPGPKeyGenerator(int version)
Create a new key generator for OpenPGP v6 keys.
|
BcOpenPGPKeyGenerator(int version,
java.util.Date creationTime)
Create a new key generator for OpenPGP v6 keys.
|
BcOpenPGPKeyGenerator(int version,
java.util.Date creationTime,
boolean aeadProtection)
Create a new OpenPGP key generator for v6 keys.
|
classicKey, compositeRSAKey, ed25519x25519Key, ed448x448Key, signOnlyKey, singletonRSAKey, withPrimaryKey, withPrimaryKey, withPrimaryKeysetDefaultAeadAlgorithmPreferences, setDefaultCompressionAlgorithmPreferences, setDefaultFeatures, setDefaultHashAlgorithmPreferences, setDefaultSymmetricKeyPreferences, setDirectKeySignatureSubpackets, setEncryptionSubkeySubpackets, setSigningSubkeySubpacketspublic BcOpenPGPKeyGenerator(int version)
throws PGPException
version - key versionPGPExceptionpublic BcOpenPGPKeyGenerator(int version,
java.util.Date creationTime)
throws PGPException
creationTimeversion - key versioncreationTime - creation time of the generated OpenPGP keyPGPExceptionpublic BcOpenPGPKeyGenerator(int version,
java.util.Date creationTime,
boolean aeadProtection)
throws PGPException
version - key versioncreationTime - creation time of the key and signaturesaeadProtection - whether the key shall be protected using AEAD. If false, the key is protected using CFB.PGPException