Class JcaOpenPGPV6KeyGenerator
- java.lang.Object
-
- org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
-
- org.bouncycastle.openpgp.api.jcajce.JcaOpenPGPV6KeyGenerator
-
public class JcaOpenPGPV6KeyGenerator extends OpenPGPV6KeyGenerator
-
-
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 JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.security.Provider provider)JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.util.Date creationTime, boolean aeadProtection, java.security.Provider provider)Create a new OpenPGP key generator for v6 keys.JcaOpenPGPV6KeyGenerator(java.security.Provider provider)JcaOpenPGPV6KeyGenerator(java.util.Date creationTime, java.security.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 Detail
-
JcaOpenPGPV6KeyGenerator
public JcaOpenPGPV6KeyGenerator(java.security.Provider provider) throws PGPException- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
public JcaOpenPGPV6KeyGenerator(java.util.Date creationTime, java.security.Provider provider) throws PGPException- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
public JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.security.Provider provider) throws PGPException- Throws:
PGPException
-
JcaOpenPGPV6KeyGenerator
public JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, java.util.Date creationTime, boolean aeadProtection, java.security.Provider provider) throws PGPExceptionCreate 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
-
-