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 long
getEVP_MDByJcaDigestAlgorithmStandardName
(String algorithm) (package private) static String
getJcaDigestAlgorithmStandardName
(String algorithm) Returns the canonical JCA digest algorithm name for the provided digest algorithm name ornull
if the digest algorithm is not known.(package private) static String
getJcaDigestAlgorithmStandardNameFromEVP_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 ornull
if 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
-