public class MessageDigestUtils
extends java.lang.Object
Constructor and Description |
---|
MessageDigestUtils() |
Modifier and Type | Method and Description |
---|---|
static AlgorithmIdentifier |
getDigestAlgID(java.lang.String digestName)
Attempt to find a standard JCA name for the digest represented by the passed in OID.
|
static java.lang.String |
getDigestName(ASN1ObjectIdentifier digestAlgOID)
Attempt to find a standard JCA name for the digest represented by the passed in OID.
|
public static AlgorithmIdentifier getDigestAlgID(java.lang.String digestName)
digestName
- name of the digest algorithm of interest.public static java.lang.String getDigestName(ASN1ObjectIdentifier digestAlgOID)
digestAlgOID
- the OID of the digest algorithm of interest.