Package org.bouncycastle.crypto.fips
Class FipsSHS.KeyGenerator
- java.lang.Object
-
- org.bouncycastle.crypto.fips.FipsSymmetricKeyGenerator
-
- org.bouncycastle.crypto.fips.FipsSHS.KeyGenerator
-
- All Implemented Interfaces:
SymmetricKeyGenerator
- Enclosing class:
- FipsSHS
public static final class FipsSHS.KeyGenerator extends FipsSymmetricKeyGenerator
HMAC key generator
-
-
Constructor Summary
Constructors Constructor Description KeyGenerator(FipsAlgorithm algorithm, int keySizeInBits, java.security.SecureRandom random)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SymmetricKey
generateKey()
Return a newly generated symmetric key.
-
-
-
Constructor Detail
-
KeyGenerator
public KeyGenerator(FipsAlgorithm algorithm, int keySizeInBits, java.security.SecureRandom random)
-
-
Method Detail
-
generateKey
public SymmetricKey generateKey()
Description copied from interface:SymmetricKeyGenerator
Return a newly generated symmetric key.- Returns:
- a new symmetric key.
-
-