Class MessageDigestUtils

java.lang.Object
org.bouncycastle.jcajce.util.MessageDigestUtils

public final class MessageDigestUtils extends Object
General utility class for helping with MessageDigest.
  • Method Details

    • getDigestName

      public static String getDigestName(ASN1ObjectIdentifier digestAlgOID)
      Attempt to find a standard JCA name for the digest represented by the passed in OID.
      Parameters:
      digestAlgOID - the OID of the digest algorithm of interest.
      Returns:
      a string representing the standard name - the OID as a string if none available.