Package org.bouncycastle.jcajce.util
Class MessageDigestUtils
java.lang.Object
org.bouncycastle.jcajce.util.MessageDigestUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlgorithmIdentifier
getDigestAlgID
(String digestName) Attempt to find a standard JCA name for the digest represented by the passed in OID.static String
getDigestName
(ASN1ObjectIdentifier digestAlgOID) Attempt to find a standard JCA name for the digest represented by the passed in OID.
-
Constructor Details
-
MessageDigestUtils
public MessageDigestUtils()
-
-
Method Details
-
getDigestAlgID
Attempt to find a standard JCA name for the digest represented by the passed in OID.- Parameters:
digestName
- name of the digest algorithm of interest.- Returns:
- an algorithm identifier representing the digest.
-
getDigestName
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.
-