Package com.google.crypto.tink.prf
Class PredefinedPrfParameters
- java.lang.Object
-
- com.google.crypto.tink.prf.PredefinedPrfParameters
-
public final class PredefinedPrfParameters extends java.lang.ObjectPredefinedParametersfor PRF-Keys.Note: if you want to keep dependencies small, consider inlining the constants here.
-
-
Field Summary
Fields Modifier and Type Field Description static AesCmacPrfParametersAES_CMAC_PRFAParametersobject for generating new instances ofAesCmacKeywith the following parameters: HMAC key size: 32 bytesstatic HkdfPrfParametersHKDF_SHA256AParametersobject for generating new instances ofHkdfPrfKeywith the following parameters: Hash function: SHA256 HMAC key size: 32 bytes Salt: emptystatic HmacPrfParametersHMAC_SHA256_PRFAParametersobject for generating new instances ofHmacPrfKeywith the following parameters: Hash function: SHA256 HMAC key size: 32 bytesstatic HmacPrfParametersHMAC_SHA512_PRFAParametersobject for generating new instances ofHmacPrfKeywith the following parameters: Hash function: SHA512 HMAC key size: 64 bytes
-
-
-
Field Detail
-
HKDF_SHA256
public static final HkdfPrfParameters HKDF_SHA256
AParametersobject for generating new instances ofHkdfPrfKeywith the following parameters:- Hash function: SHA256
- HMAC key size: 32 bytes
- Salt: empty
-
HMAC_SHA256_PRF
public static final HmacPrfParameters HMAC_SHA256_PRF
AParametersobject for generating new instances ofHmacPrfKeywith the following parameters:- Hash function: SHA256
- HMAC key size: 32 bytes
-
HMAC_SHA512_PRF
public static final HmacPrfParameters HMAC_SHA512_PRF
AParametersobject for generating new instances ofHmacPrfKeywith the following parameters:- Hash function: SHA512
- HMAC key size: 64 bytes
-
AES_CMAC_PRF
public static final AesCmacPrfParameters AES_CMAC_PRF
AParametersobject for generating new instances ofAesCmacKeywith the following parameters:- HMAC key size: 32 bytes
-
-