| Package | Description |
|---|---|
| com.google.crypto.tink.signature |
| Modifier and Type | Field and Description |
|---|---|
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P256
A
Parameters object that generates new instances of EcdsaPrivateKey objects
with the following parameters:
Hash function: SHA256
Curve: NIST P-256
Signature encoding: DER (this is the encoding that Java uses). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P256_IEEE_P1363
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA256
Curve: NIST P-256
Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA256
Curve: NIST P-256
Signature encoding: DER (this is the encoding that Java uses). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P384
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA512
Curve: NIST P-384
Signature encoding: DER (this is the encoding that Java uses). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P384_IEEE_P1363
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA512
Curve: NIST P-384
Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P521
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA512
Curve: NIST P-521
Signature encoding: DER (this is the encoding that Java uses). |
static EcdsaParameters |
PredefinedSignatureParameters.ECDSA_P521_IEEE_P1363
A
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
Hash function: SHA512
Curve: NIST P-521
Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use). |
| Modifier and Type | Method and Description |
|---|---|
EcdsaParameters |
EcdsaParameters.Builder.build() |
EcdsaParameters |
EcdsaPublicKey.getParameters() |
EcdsaParameters |
EcdsaPrivateKey.getParameters() |
| Modifier and Type | Method and Description |
|---|---|
EcdsaPublicKey.Builder |
EcdsaPublicKey.Builder.setParameters(EcdsaParameters parameters) |