Package org.conscrypt
Class EvpMdRef
- java.lang.Object
-
- org.conscrypt.EvpMdRef
-
final class EvpMdRef extends java.lang.ObjectUtility class to convert between BoringSSL- and JCE-style message digest identifiers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classEvpMdRef.MD5(package private) static classEvpMdRef.SHA1(package private) static classEvpMdRef.SHA224(package private) static classEvpMdRef.SHA256(package private) static classEvpMdRef.SHA384(package private) static classEvpMdRef.SHA512
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringMGF1_ALGORITHM_NAME(package private) static java.lang.StringMGF1_OID
-
Constructor Summary
Constructors Modifier Constructor Description privateEvpMdRef()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intgetDigestSizeBytesByJcaDigestAlgorithmStandardName(java.lang.String algorithm)(package private) static longgetEVP_MDByJcaDigestAlgorithmStandardName(java.lang.String algorithm)(package private) static java.lang.StringgetJcaDigestAlgorithmStandardName(java.lang.String algorithm)Returns the canonical JCA digest algorithm name for the provided digest algorithm name ornullif the digest algorithm is not known.(package private) static java.lang.StringgetJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef)
-
-
-
Field Detail
-
MGF1_ALGORITHM_NAME
static final java.lang.String MGF1_ALGORITHM_NAME
- See Also:
- Constant Field Values
-
MGF1_OID
static final java.lang.String MGF1_OID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJcaDigestAlgorithmStandardName
static java.lang.String getJcaDigestAlgorithmStandardName(java.lang.String algorithm)
Returns the canonical JCA digest algorithm name for the provided digest algorithm name ornullif the digest algorithm is not known.
-
getEVP_MDByJcaDigestAlgorithmStandardName
static long getEVP_MDByJcaDigestAlgorithmStandardName(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException- Throws:
java.security.NoSuchAlgorithmException
-
getDigestSizeBytesByJcaDigestAlgorithmStandardName
static int getDigestSizeBytesByJcaDigestAlgorithmStandardName(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException- Throws:
java.security.NoSuchAlgorithmException
-
getJcaDigestAlgorithmStandardNameFromEVP_MD
static java.lang.String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef)
-
-