Uses of Class
com.google.crypto.tink.subtle.Enums.HashType
-
Packages that use Enums.HashType Package Description com.google.crypto.tink com.google.crypto.tink.signature.internal com.google.crypto.tink.subtle com.google.crypto.tink.subtle.prf -
-
Uses of Enums.HashType in com.google.crypto.tink
Fields in com.google.crypto.tink declared as Enums.HashType Modifier and Type Field Description Enums.HashTypePemKeyType. hash -
Uses of Enums.HashType in com.google.crypto.tink.signature.internal
Methods in com.google.crypto.tink.signature.internal that return Enums.HashType Modifier and Type Method Description static Enums.HashTypeSigUtil. toHashType(com.google.crypto.tink.proto.HashType hash)Converts protobuf enumHashTypeto raw Java enumEnums.HashType.Constructors in com.google.crypto.tink.signature.internal with parameters of type Enums.HashType Constructor Description EcdsaSignJce(java.security.interfaces.ECPrivateKey privateKey, Enums.HashType hash, EllipticCurves.EcdsaEncoding encoding)EcdsaVerifyJce(java.security.interfaces.ECPublicKey publicKey, Enums.HashType hash, EllipticCurves.EcdsaEncoding encoding) -
Uses of Enums.HashType in com.google.crypto.tink.subtle
Fields in com.google.crypto.tink.subtle declared as Enums.HashType Modifier and Type Field Description Enums.HashTypePemKeyType. hashDeprecated.Methods in com.google.crypto.tink.subtle that return Enums.HashType Modifier and Type Method Description static Enums.HashTypeEnums.HashType. valueOf(java.lang.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.Methods in com.google.crypto.tink.subtle with parameters of type Enums.HashType Modifier and Type Method Description static byte[]SubtleUtil. mgf1(byte[] mgfSeed, int maskLen, Enums.HashType mgfHash)Computes MGF1 as defined at https://tools.ietf.org/html/rfc8017#appendix-B.2.1.static java.lang.StringSubtleUtil. toDigestAlgo(Enums.HashType hash)Returns the digest algorithm name corresponding to a hash type.static java.lang.StringSubtleUtil. toEcdsaAlgo(Enums.HashType hash)Returns the Ecdsa algorithm name corresponding to a hash type.static java.lang.StringSubtleUtil. toRsaSsaPkcs1Algo(Enums.HashType hash)Returns the RSA SSA (Signature with Appendix) PKCS1 algorithm name corresponding to a hash type.static voidSelfKeyTestValidators. validateEcdsa(java.security.interfaces.ECPrivateKey privateKey, java.security.interfaces.ECPublicKey publicKey, Enums.HashType hash, EllipticCurves.EcdsaEncoding encoding)static voidSelfKeyTestValidators. validateRsaSsaPkcs1(java.security.interfaces.RSAPrivateCrtKey privateKey, java.security.interfaces.RSAPublicKey publicKey, Enums.HashType sigHash)static voidSelfKeyTestValidators. validateRsaSsaPss(java.security.interfaces.RSAPrivateCrtKey privateKey, java.security.interfaces.RSAPublicKey publicKey, Enums.HashType sigHash, Enums.HashType mgf1Hash, int saltLength)static voidValidators. validateSignatureHash(Enums.HashType hash)Validates whetherhashis safe to use for digital signature.Constructors in com.google.crypto.tink.subtle with parameters of type Enums.HashType Constructor Description EcdsaSignJce(java.security.interfaces.ECPrivateKey privateKey, Enums.HashType hash, EllipticCurves.EcdsaEncoding encoding)EcdsaVerifyJce(java.security.interfaces.ECPublicKey publicKey, Enums.HashType hash, EllipticCurves.EcdsaEncoding encoding)RsaSsaPkcs1SignJce(java.security.interfaces.RSAPrivateCrtKey privateKey, Enums.HashType hash)RsaSsaPkcs1VerifyJce(java.security.interfaces.RSAPublicKey pubKey, Enums.HashType hash)RsaSsaPssSignJce(java.security.interfaces.RSAPrivateCrtKey priv, Enums.HashType sigHash, Enums.HashType mgf1Hash, int saltLength)RsaSsaPssVerifyJce(java.security.interfaces.RSAPublicKey pubKey, Enums.HashType sigHash, Enums.HashType mgf1Hash, int saltLength) -
Uses of Enums.HashType in com.google.crypto.tink.subtle.prf
Constructors in com.google.crypto.tink.subtle.prf with parameters of type Enums.HashType Constructor Description HkdfStreamingPrf(Enums.HashType hashType, byte[] ikm, byte[] salt)
-