Package org.forgerock.util.crypto
Class HKDFKeyGenerator.HKDFMasterKey
- java.lang.Object
-
- javax.crypto.spec.SecretKeySpec
-
- org.forgerock.util.crypto.HKDFKeyGenerator.HKDFMasterKey
-
- All Implemented Interfaces:
Serializable
,Key
,KeySpec
,SecretKey
,Destroyable
- Enclosing class:
- HKDFKeyGenerator
public static class HKDFKeyGenerator.HKDFMasterKey extends SecretKeySpec
A secret key designed to be used as the master key for HKDF key generation. In addition to the secret key material, this also has a non-secret random salt parameter.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getSalt()
Returns the non-secret salt for the master key.-
Methods inherited from class javax.crypto.spec.SecretKeySpec
equals, getAlgorithm, getEncoded, getFormat, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-