Package org.conscrypt
Class EvpMdRef
java.lang.Object
org.conscrypt.EvpMdRef
Utility class to convert between BoringSSL- and JCE-style message digest identifiers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class(package private) static final class(package private) static final class(package private) static final class(package private) static final class(package private) static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int(package private) static longgetEVP_MDByJcaDigestAlgorithmStandardName(String algorithm) (package private) static StringgetJcaDigestAlgorithmStandardName(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 StringgetJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef)
-
Field Details
-
MGF1_ALGORITHM_NAME
- See Also:
-
MGF1_OID
- See Also:
-
-
Constructor Details
-
EvpMdRef
private EvpMdRef()
-
-
Method Details
-
getJcaDigestAlgorithmStandardName
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(String algorithm) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
getDigestSizeBytesByJcaDigestAlgorithmStandardName
static int getDigestSizeBytesByJcaDigestAlgorithmStandardName(String algorithm) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
getJcaDigestAlgorithmStandardNameFromEVP_MD
-