| Package | Description |
|---|---|
| com.google.crypto.tink.subtle |
| Modifier and Type | Method and Description |
|---|---|
static Enums.HashType |
Enums.HashType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Enums.HashType[] |
Enums.HashType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
SubtleUtil.toEcdsaAlgo(Enums.HashType hash)
Returns the Ecdsa algorithm name corresponding to a hash type.
|
static String |
SubtleUtil.toRsaSsaPkcs1Algo(Enums.HashType hash)
Returns the RSA SSA (Signature with Appendix) PKCS1 algorithm name corresponding to a hash
type.
|
static void |
Validators.validateSignatureHash(Enums.HashType hash)
Validates whether
hash is safe to use for digital signature. |
| Constructor and Description |
|---|
EcdsaSignJce(ECPrivateKey priv,
Enums.HashType hash,
EllipticCurves.EcdsaEncoding encoding) |
EcdsaVerifyJce(ECPublicKey pubKey,
Enums.HashType hash,
EllipticCurves.EcdsaEncoding encoding) |
RsaSsaPkcs1SignJce(RSAPrivateCrtKey priv,
Enums.HashType hash) |
RsaSsaPkcs1VerifyJce(RSAPublicKey pubKey,
Enums.HashType hash) |