public final class JwtHmacKeyManager extends Object
JwtHmacKey keys and produces new instances of JwtHmac.| Modifier and Type | Method and Description |
|---|---|
TinkFipsUtil.AlgorithmFipsCompatibility |
fipsStatus() |
static KeyTemplate |
hs256Template()
Returns a
KeyTemplate that generates new instances of HS256 256-bit keys. |
static KeyTemplate |
hs384Template()
Returns a
KeyTemplate that generates new instances of HS384 384-bit keys. |
static KeyTemplate |
hs512Template()
Returns a
KeyTemplate that generates new instances of HS512 512-bit keys. |
static void |
register(boolean newKeyAllowed) |
public TinkFipsUtil.AlgorithmFipsCompatibility fipsStatus()
public static void register(boolean newKeyAllowed)
throws GeneralSecurityException
GeneralSecurityExceptionpublic static final KeyTemplate hs256Template()
KeyTemplate that generates new instances of HS256 256-bit keys.public static final KeyTemplate hs384Template()
KeyTemplate that generates new instances of HS384 384-bit keys.public static final KeyTemplate hs512Template()
KeyTemplate that generates new instances of HS512 512-bit keys.