public final class RsaSsaPssParameters extends SignatureParameters
RsaSsaPssPublicKey and RsaSsaPssPrivateKey.
Standard: https://datatracker.ietf.org/doc/html/rfc8017#section-8.1
| Modifier and Type | Class and Description |
|---|---|
static class |
RsaSsaPssParameters.Builder
Builds a new RsaSsaPssParameters instance.
|
static class |
RsaSsaPssParameters.HashType
The Hash algorithm used.
|
static class |
RsaSsaPssParameters.Variant
Describes details of the signature.
|
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
F4 |
| Modifier and Type | Method and Description |
|---|---|
static RsaSsaPssParameters.Builder |
builder() |
boolean |
equals(Object o) |
RsaSsaPssParameters.HashType |
getMgf1HashType() |
int |
getModulusSizeBits() |
BigInteger |
getPublicExponent() |
int |
getSaltLengthBytes() |
RsaSsaPssParameters.HashType |
getSigHashType() |
RsaSsaPssParameters.Variant |
getVariant() |
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 RsaSsaPssParameters.Builder builder()
public int getModulusSizeBits()
public BigInteger getPublicExponent()
public RsaSsaPssParameters.Variant getVariant()
public RsaSsaPssParameters.HashType getSigHashType()
public RsaSsaPssParameters.HashType getMgf1HashType()
public int getSaltLengthBytes()
public 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