Package org.bouncycastle.openpgp.api.bc
Class BcOpenPGPV6KeyGenerator
- java.lang.Object
-
- org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
-
- org.bouncycastle.openpgp.api.bc.BcOpenPGPV6KeyGenerator
-
public class BcOpenPGPV6KeyGenerator extends OpenPGPV6KeyGenerator
Bouncy Castle implementation ofOpenPGPV6KeyGenerator.
-
-
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
Constructors Constructor Description BcOpenPGPV6KeyGenerator()Create a new key generator for OpenPGP v6 keys.BcOpenPGPV6KeyGenerator(int signatureHashAlgorithm)Create a new key generator for OpenPGP v6 keys.BcOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.util.Date creationTime, boolean aeadProtection)Create a new OpenPGP key generator for v6 keys.BcOpenPGPV6KeyGenerator(java.util.Date creationTime)Create a new key generator for OpenPGP v6 keys.
-
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 Detail
-
BcOpenPGPV6KeyGenerator
public BcOpenPGPV6KeyGenerator()
Create a new key generator for OpenPGP v6 keys.
-
BcOpenPGPV6KeyGenerator
public BcOpenPGPV6KeyGenerator(java.util.Date creationTime)
Create a new key generator for OpenPGP v6 keys. The key creation time will be set tocreationTime- Parameters:
creationTime- creation time of the generated OpenPGP key
-
BcOpenPGPV6KeyGenerator
public BcOpenPGPV6KeyGenerator(int signatureHashAlgorithm)
Create a new key generator for OpenPGP v6 keys. Signatures on the key will be generated using the specifiedsignatureHashAlgorithm.- Parameters:
signatureHashAlgorithm- ID of the hash algorithm to be used for signature generation
-
BcOpenPGPV6KeyGenerator
public BcOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.util.Date creationTime, boolean aeadProtection)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
-
-