@Alpha public final class EcdsaParameters extends SignatureParameters
This API is annotated with Alpha because it is not yet stable and might be changed in the future.
| Modifier and Type | Class and Description |
|---|---|
static class |
EcdsaParameters.Builder
Builds a new EcdsaParameters instance.
|
static class |
EcdsaParameters.CurveType
The elliptic curve and its parameters.
|
static class |
EcdsaParameters.HashType
The Hash algorithm used.
|
static class |
EcdsaParameters.SignatureEncoding
The encoding used in the signature.
|
static class |
EcdsaParameters.Variant
Describes details of the ECDSA signature computation.
|
| Modifier and Type | Method and Description |
|---|---|
static EcdsaParameters.Builder |
builder() |
boolean |
equals(Object o) |
EcdsaParameters.CurveType |
getCurveType() |
EcdsaParameters.HashType |
getHashType() |
EcdsaParameters.SignatureEncoding |
getSignatureEncoding() |
EcdsaParameters.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 EcdsaParameters.Builder builder()
public EcdsaParameters.SignatureEncoding getSignatureEncoding()
public EcdsaParameters.CurveType getCurveType()
public EcdsaParameters.HashType getHashType()
public EcdsaParameters.Variant getVariant()
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