public final class RsaSsaPkcs1Parameters extends SignatureParameters
RsaSsaPkcs1PublicKey and RsaSsaPkcs1PrivateKey.
Standard: https://www.rfc-editor.org/rfc/rfc8017.txt
| Modifier and Type | Class and Description |
|---|---|
static class |
RsaSsaPkcs1Parameters.Builder
Builds a new RsaSsaPkcs1Parameters instance.
|
static class |
RsaSsaPkcs1Parameters.HashType
The Hash algorithm used.
|
static class |
RsaSsaPkcs1Parameters.Variant
Describes details of the signature.
|
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
F4 |
| Modifier and Type | Method and Description |
|---|---|
static RsaSsaPkcs1Parameters.Builder |
builder() |
boolean |
equals(Object o) |
RsaSsaPkcs1Parameters.HashType |
getHashType() |
int |
getModulusSizeBits() |
BigInteger |
getPublicExponent() |
RsaSsaPkcs1Parameters.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 RsaSsaPkcs1Parameters.Builder builder()
public int getModulusSizeBits()
public BigInteger getPublicExponent()
public RsaSsaPkcs1Parameters.Variant getVariant()
public RsaSsaPkcs1Parameters.HashType getHashType()
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