Class BcOpenPGPV6KeyGenerator

java.lang.Object
org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator
org.bouncycastle.openpgp.api.bc.BcOpenPGPV6KeyGenerator

public class BcOpenPGPV6KeyGenerator extends OpenPGPV6KeyGenerator
Bouncy Castle implementation of OpenPGPV6KeyGenerator.
  • Constructor Details

    • BcOpenPGPV6KeyGenerator

      public BcOpenPGPV6KeyGenerator()
      Create a new key generator for OpenPGP v6 keys.
    • BcOpenPGPV6KeyGenerator

      public BcOpenPGPV6KeyGenerator(Date creationTime)
      Create a new key generator for OpenPGP v6 keys. The key creation time will be set to creationTime
      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 specified signatureHashAlgorithm.
      Parameters:
      signatureHashAlgorithm - ID of the hash algorithm to be used for signature generation
    • BcOpenPGPV6KeyGenerator

      public BcOpenPGPV6KeyGenerator(int signatureHashAlgorithm, 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 key
      creationTime - creation time of the key and signatures