public class HMacSha384KeyGenerator extends VarLengthKeyGenerator
An application uses
for creating a KeyGenerator object for the HmacSHA384 algorithm. For actually generating the requested secret key from the KeyGenerator object just created, an application calls theKeyGenerator keyGen = KeyGenerator.getInstance("HmacSHA384");
generateKey
method after
optionally having initialized the generator with some random seed and/or
the required key length:
SecretKey key = keyGen.generateKey();
KeyGenerator
,
SecretKey
,
SecretKey
,
HMacSha384
Constructor and Description |
---|
HMacSha384KeyGenerator()
Creates a new HMAC/SHA-384 key generator.
|
engineGenerateKey, engineInit, engineInit, engineInit