Top Constructors Methods
org.bouncycastle.crypto.general

pack-priv abstract Class GuardedSymmetricKeyGenerator<T extends Parameters>

extends Object
implements SymmetricKeyGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.SymmetricKeyGenerator
Known Direct Subclasses
org.bouncycastle.crypto.general.RC2.KeyGenerator, org.bouncycastle.crypto.general.SecureHash.KeyGenerator, org.bouncycastle.crypto.general.SEED.KeyGenerator, org.bouncycastle.crypto.general.Serpent.KeyGenerator, org.bouncycastle.crypto.general.SHACAL2.KeyGenerator, org.bouncycastle.crypto.general.IDEA.KeyGenerator, org.bouncycastle.crypto.general.Poly1305.KeyGenerator, org.bouncycastle.crypto.general.SipHash.KeyGenerator, org.bouncycastle.crypto.general.TripleDES.KeyGenerator, org.bouncycastle.crypto.general.Twofish.KeyGenerator, org.bouncycastle.crypto.general.GOST28147.KeyGenerator, org.bouncycastle.crypto.general.AES.KeyGenerator, org.bouncycastle.crypto.general.ARC4.KeyGenerator, org.bouncycastle.crypto.general.Blowfish.KeyGenerator, org.bouncycastle.crypto.general.Camellia.KeyGenerator, org.bouncycastle.crypto.general.CAST5.KeyGenerator, org.bouncycastle.crypto.general.ChaCha20.KeyGenerator, org.bouncycastle.crypto.general.DES.KeyGenerator
Imports
org.bouncycastle.crypto.CryptoServicesRegistrar, .Parameters, .SymmetricKey, .SymmetricKeyGenerator, org.bouncycastle.crypto.fips.FipsStatus, .FipsUnapprovedOperationError

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected abstract SymmetricKey
public final SymmetricKey
generateKey()

Implements org.bouncycastle.crypto.SymmetricKeyGenerator.generateKey.

Return a newly generated symmetric key.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GuardedSymmetricKeyGeneratorback to summary
pack-priv GuardedSymmetricKeyGenerator()

Method Detail

doGenerateKeyback to summary
protected abstract SymmetricKey doGenerateKey()
generateKeyback to summary
public final SymmetricKey generateKey()

Implements org.bouncycastle.crypto.SymmetricKeyGenerator.generateKey.

Doc from org.bouncycastle.crypto.SymmetricKeyGenerator.generateKey.

Return a newly generated symmetric key.

Returns:SymmetricKey

a new symmetric key.