Package com.google.crypto.tink.prf
Class PrfKeyTemplates
- java.lang.Object
-
- com.google.crypto.tink.prf.PrfKeyTemplates
-
@Deprecated public final class PrfKeyTemplates extends java.lang.ObjectDeprecated.Use PredefinedPrfParameters instead.Key templates for PRF-Keys.We recommend to avoid this class in order to keep dependencies small.
- Using this class adds a dependency on protobuf. We hope that eventually it is possible to use Tink without a dependency on protobuf.
- Using this class adds a dependency on classes for all involved key types.
Instead, we recommend to use
KeysetHandle.generateEntryFromParametersNameorKeysetHandle.generateEntryFromParameters.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.crypto.tink.proto.KeyTemplateAES_CMAC_PRFDeprecated.static com.google.crypto.tink.proto.KeyTemplateHKDF_SHA256Deprecated.Generates aKeyTemplatefor aHkdfPrfKeykey with the following parameters.static com.google.crypto.tink.proto.KeyTemplateHMAC_SHA256_PRFDeprecated.static com.google.crypto.tink.proto.KeyTemplateHMAC_SHA512_PRFDeprecated.
-
-
-
Field Detail
-
HKDF_SHA256
public static final com.google.crypto.tink.proto.KeyTemplate HKDF_SHA256
Deprecated.Generates aKeyTemplatefor aHkdfPrfKeykey with the following parameters.- Hash function: SHA256
- HMAC key size: 32 bytes
- Salt: empty
-
HMAC_SHA256_PRF
public static final com.google.crypto.tink.proto.KeyTemplate HMAC_SHA256_PRF
Deprecated.
-
HMAC_SHA512_PRF
public static final com.google.crypto.tink.proto.KeyTemplate HMAC_SHA512_PRF
Deprecated.
-
AES_CMAC_PRF
public static final com.google.crypto.tink.proto.KeyTemplate AES_CMAC_PRF
Deprecated.
-
-