Top Fields Constructors Methods
org.bouncycastle.openpgp.api.jcajce

public Class JcaOpenPGPV6KeyGenerator

extends OpenPGPV6KeyGenerator
Class Inheritance
Imports
org.bouncycastle.openpgp.PGPException, org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator, org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorFactory, org.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorFactory, .JcaCFBSecretKeyEncryptorFactory, .JcaKeyFingerprintCalculator, .JcaPGPContentSignerBuilderProvider, .JcaPGPDigestCalculatorProviderBuilder, .JcaPGPKeyPairGeneratorProvider, java.security.Provider, java.util.Date

Field Summary

Inherited from org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator:
DEFAULT_AEAD_ALGORITHM_PREFERENCESDEFAULT_COMPRESSION_ALGORITHM_PREFERENCESDEFAULT_FEATURESDEFAULT_HASH_ALGORITHM_PREFERENCESDEFAULT_SIGNATURE_HASH_ALGORITHMDEFAULT_SYMMETRIC_KEY_PREFERENCESDIRECT_KEY_SIGNATURE_SUBPACKETSENCRYPTION_SUBKEY_SUBPACKETSSIGNING_SUBKEY_SUBPACKETS

Constructor Summary

AccessConstructor and Description
public
public
JcaOpenPGPV6KeyGenerator(Date creationTime, Provider provider)

public
JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, Provider provider)

public
JcaOpenPGPV6KeyGenerator(int
ID of the hash algorithm used for signatures on the key
signatureHashAlgorithm
,
Date
creation time of the key and signatures
creationTime
,
boolean aeadProtection, Provider provider)

Create a new OpenPGP key generator for v6 keys.

Method Summary

Modifier and TypeMethod and Description
private static PBESecretKeyEncryptorFactory
keyEncryptorFactory(Provider provider, boolean aeadProtection)

Inherited from org.bouncycastle.openpgp.api.OpenPGPV6KeyGenerator:
classicKeyed25519x25519Keyed448x448KeysignOnlyKeysignOnlyKeysignOnlyKeywithPrimaryKeywithPrimaryKeywithPrimaryKeywithPrimaryKeywithPrimaryKeywithPrimaryKeywithPrimaryKey

Constructor Detail

JcaOpenPGPV6KeyGeneratorback to summary
public JcaOpenPGPV6KeyGenerator(Provider provider) throws PGPException
JcaOpenPGPV6KeyGeneratorback to summary
public JcaOpenPGPV6KeyGenerator(Date creationTime, Provider provider) throws PGPException
JcaOpenPGPV6KeyGeneratorback to summary
public JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, Provider provider) throws PGPException
JcaOpenPGPV6KeyGeneratorback to summary
public JcaOpenPGPV6KeyGenerator(int signatureHashAlgorithm, Date creationTime, boolean aeadProtection, Provider provider) throws PGPException

Create a new OpenPGP key generator for v6 keys.

Parameters
signatureHashAlgorithm:int

ID of the hash algorithm used for signatures on the key

creationTime:Date

creation time of the key and signatures

Method Detail

keyEncryptorFactoryback to summary
private static PBESecretKeyEncryptorFactory keyEncryptorFactory(Provider provider, boolean aeadProtection) throws PGPException