Top Description Fields Constructors Methods
org.bouncycastle.jcajce.util

public final Class MessageDigestUtils

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers, org.bouncycastle.asn1.gnu.GNUObjectIdentifiers, org.bouncycastle.asn1.iso.ISOIECObjectIdentifiers, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers

General utility class for helping with MessageDigest.

Field Summary

Modifier and TypeField and Description
private static Map<ASN1ObjectIdentifier, String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

a string representing the standard name - the OID as a string if none available.
getDigestName
(ASN1ObjectIdentifier
the OID of the digest algorithm of interest.
digestAlgOID
)

Attempt to find a standard JCA name for the digest represented by the passed in OID.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestOidMapback to summary
private static Map<ASN1ObjectIdentifier, String> digestOidMap

Constructor Detail

MessageDigestUtilsback to summary
private MessageDigestUtils()

Method Detail

getDigestNameback to summary
public static String getDigestName(ASN1ObjectIdentifier digestAlgOID)

Attempt to find a standard JCA name for the digest represented by the passed in OID.

Parameters
digestAlgOID:ASN1ObjectIdentifier

the OID of the digest algorithm of interest.

Returns:String

a string representing the standard name - the OID as a string if none available.