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:
  • Method Details

    • getSalt

      public byte[] getSalt()
      Returns the non-secret salt for the master key.
      Returns:
      the non-secret salt for the master key