Package com.google.crypto.tink.prf
Class HkdfPrfKeyManager
- java.lang.Object
-
- com.google.crypto.tink.prf.HkdfPrfKeyManager
-
public class HkdfPrfKeyManager extends java.lang.ObjectThis key manager generates newHkdfPrfKeykeys and produces new instances ofHkdfStreamingPrfandHkdfPrf.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTemplatehkdfSha256Template()Generates aKeyTemplatefor HKDF-PRF keys with the following parameters.static voidregister(boolean newKeyAllowed)static java.lang.StringstaticKeyType()
-
-
-
Method Detail
-
register
public static void register(boolean newKeyAllowed) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
staticKeyType
public static java.lang.String staticKeyType()
-
hkdfSha256Template
public static final KeyTemplate hkdfSha256Template()
Generates aKeyTemplatefor HKDF-PRF keys with the following parameters.- Hash function: SHA256
- HMAC key size: 32 bytes
- Salt: empty
-
-