Package com.google.crypto.tink.jwt
Class JwtHmacKeyManager
- java.lang.Object
-
- com.google.crypto.tink.jwt.JwtHmacKeyManager
-
public final class JwtHmacKeyManager extends java.lang.ObjectThis key manager generates newJwtHmacKeykeys and produces new instances ofJwtHmacKeyManager.JwtHmac.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TinkFipsUtil.AlgorithmFipsCompatibilityfipsStatus()static KeyTemplatehs256Template()Returns aKeyTemplatethat generates new instances of HS256 256-bit keys.static KeyTemplatehs384Template()Returns aKeyTemplatethat generates new instances of HS384 384-bit keys.static KeyTemplatehs512Template()Returns aKeyTemplatethat generates new instances of HS512 512-bit keys.static voidregister(boolean newKeyAllowed)
-
-
-
Method Detail
-
fipsStatus
public TinkFipsUtil.AlgorithmFipsCompatibility fipsStatus()
-
register
public static void register(boolean newKeyAllowed) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
hs256Template
public static final KeyTemplate hs256Template()
Returns aKeyTemplatethat generates new instances of HS256 256-bit keys.
-
hs384Template
public static final KeyTemplate hs384Template()
Returns aKeyTemplatethat generates new instances of HS384 384-bit keys.
-
hs512Template
public static final KeyTemplate hs512Template()
Returns aKeyTemplatethat generates new instances of HS512 512-bit keys.
-
-