Top Fields Constructors Methods
org.bouncycastle.operator

public Class DefaultMacAlgorithmIdentifierFinder

extends Object
implements MacAlgorithmIdentifierFinder
Class Inheritance
All Implemented Interfaces
org.bouncycastle.operator.MacAlgorithmIdentifierFinder
Imports
java.util.HashMap, .Map, org.bouncycastle.asn1.DERNull, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.util.Strings

Field Summary

Modifier and TypeField and Description
private static Map<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier
find(String
the name of the digest algorithm of interest.
macAlgName
)

Implements org.bouncycastle.operator.MacAlgorithmIdentifierFinder.find.

Find the algorithm identifier that matches with the passed in digest name.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

macNameToAlgIdsback to summary
private static Map<K, V> macNameToAlgIds

Constructor Detail

DefaultMacAlgorithmIdentifierFinderback to summary
public DefaultMacAlgorithmIdentifierFinder()

Method Detail

findback to summary
public AlgorithmIdentifier find(String macAlgName)

Implements org.bouncycastle.operator.MacAlgorithmIdentifierFinder.find.

Doc from org.bouncycastle.operator.MacAlgorithmIdentifierFinder.find.

Find the algorithm identifier that matches with the passed in digest name.

Parameters
macAlgName:String

the name of the digest algorithm of interest.

Returns:AlgorithmIdentifier

an algorithm identifier for the MAC.