Package org.conscrypt

Class EvpMdRef

java.lang.Object
org.conscrypt.EvpMdRef

final class EvpMdRef extends Object
Utility class to convert between BoringSSL- and JCE-style message digest identifiers.
  • Field Details

  • Constructor Details

    • EvpMdRef

      private EvpMdRef()
  • Method Details

    • getJcaDigestAlgorithmStandardName

      static String getJcaDigestAlgorithmStandardName(String algorithm)
      Returns the canonical JCA digest algorithm name for the provided digest algorithm name or null 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

      static String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef)