Class BcOpenPGPV6KeyGenerator

    • 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 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,
                                       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 key
        creationTime - creation time of the key and signatures