public final class JwtRsaSsaPssParameters extends JwtSignatureParameters
JwtRsaSsaPssPublicKey and JwtRsaSsaPssPrivateKey.
Standard: https://datatracker.ietf.org/doc/html/rfc7518#section-3.5
| Modifier and Type | Class and Description |
|---|---|
static class |
JwtRsaSsaPssParameters.Algorithm
The algorithm to be used for the signature computation.
|
static class |
JwtRsaSsaPssParameters.Builder
Builds a new JwtRsaSsaPssParameters instance.
|
static class |
JwtRsaSsaPssParameters.KidStrategy
Specifies how the "kid" header is handled.
|
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
F4 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowKidAbsent()
If true, tokens without
"kid" header are allowed when verifying a token. |
static JwtRsaSsaPssParameters.Builder |
builder() |
boolean |
equals(Object o) |
JwtRsaSsaPssParameters.Algorithm |
getAlgorithm() |
JwtRsaSsaPssParameters.KidStrategy |
getKidStrategy() |
int |
getModulusSizeBits() |
BigInteger |
getPublicExponent() |
int |
hashCode() |
boolean |
hasIdRequirement()
Returns true if a key created with the parameters in this object has to have a certain ID when
it is in a keyset.
|
String |
toString() |
public static final BigInteger F4
public static JwtRsaSsaPssParameters.Builder builder()
public int getModulusSizeBits()
public BigInteger getPublicExponent()
public JwtRsaSsaPssParameters.KidStrategy getKidStrategy()
public JwtRsaSsaPssParameters.Algorithm getAlgorithm()
public boolean allowKidAbsent()
JwtSignatureParameters"kid" header are allowed when verifying a token.allowKidAbsent in class JwtSignatureParameterspublic boolean hasIdRequirement()
ParametersIn Tink, certain keys change their behavior depending on the key id (for example, an Aead object can prefix the ciphertext with the big endian encoding of the key id). If this is
the case, such a key should require a unique id in Key.getIdRequirementOrNull() and
return true here.
hasIdRequirement in class Parameters