public final class PredefinedSignatureParameters extends Object
Parameter objects for PublicKeySign and
PublicKeyVerify. keys.
Note: if you want to keep dependencies small, consider inlining the constants here.
| Modifier and Type | Field and Description |
|---|---|
static EcdsaParameters |
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 |
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 |
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 |
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 |
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 |
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 |
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). |
static Ed25519Parameters |
ED25519
A
Parameters that generates new instances of Ed25519PrivateKey objects. |
static Ed25519Parameters |
ED25519WithRawOutput
A
Parameters that generates new instances of ED25519PrivateKey. |
static RsaSsaPkcs1Parameters |
RSA_SSA_PKCS1_3072_SHA256_F4
A
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
Hash function: SHA256. |
static RsaSsaPkcs1Parameters |
RSA_SSA_PKCS1_3072_SHA256_F4_WITHOUT_PREFIX
A
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
Hash function: SHA256. |
static RsaSsaPkcs1Parameters |
RSA_SSA_PKCS1_4096_SHA512_F4
A
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
Hash function: SHA512. |
static RsaSsaPssParameters |
RSA_SSA_PSS_3072_SHA256_SHA256_32_F4
A
Parameters that generates new instances of RsaSsaPssPrivateKey objects with
the following parameters:
Signature hash: SHA256. |
static RsaSsaPssParameters |
RSA_SSA_PSS_4096_SHA512_SHA512_64_F4
A
Parameters that generates new instances of RsaSsaPssPrivateKey objects with
the following parameters:
Signature hash: SHA512. |
public static final EcdsaParameters ECDSA_P256
Parameters object that generates new instances of EcdsaPrivateKey objects
with the following parameters:
OutputPrefixType.TINK
public static final EcdsaParameters ECDSA_P384
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
OutputPrefixType.TINK
public static final EcdsaParameters ECDSA_P521
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
OutputPrefixType.TINK
public static final EcdsaParameters ECDSA_P256_IEEE_P1363
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
OutputPrefixType.TINK
public static final EcdsaParameters ECDSA_P384_IEEE_P1363
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
OutputPrefixType.TINK
public static final EcdsaParameters ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
public static final EcdsaParameters ECDSA_P521_IEEE_P1363
Parameters that generates new instances of EcdsaPrivateKey objects with the
following parameters:
OutputPrefixType.TINK
public static final Ed25519Parameters ED25519
Parameters that generates new instances of Ed25519PrivateKey objects.public static final Ed25519Parameters ED25519WithRawOutput
Parameters that generates new instances of ED25519PrivateKey.
The difference between ED25519WithRawOutput and ED25519 is the format of
signatures generated. ED25519WithRawOutput generates signatures of OutputPrefixType.RAW format, which is 64 bytes long.
public static final RsaSsaPkcs1Parameters RSA_SSA_PKCS1_3072_SHA256_F4
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
OutputPrefixType.TINK
public static final RsaSsaPkcs1Parameters RSA_SSA_PKCS1_3072_SHA256_F4_WITHOUT_PREFIX
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
public static final RsaSsaPkcs1Parameters RSA_SSA_PKCS1_4096_SHA512_F4
Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with
the following parameters:
OutputPrefixType.TINK
public static final RsaSsaPssParameters RSA_SSA_PSS_3072_SHA256_SHA256_32_F4
Parameters that generates new instances of RsaSsaPssPrivateKey objects with
the following parameters:
public static final RsaSsaPssParameters RSA_SSA_PSS_4096_SHA512_SHA512_64_F4
Parameters that generates new instances of RsaSsaPssPrivateKey objects with
the following parameters: