Package org.bouncycastle.operator
Class DefaultMacAlgorithmIdentifierFinder
- java.lang.Object
-
- org.bouncycastle.operator.DefaultMacAlgorithmIdentifierFinder
-
- All Implemented Interfaces:
MacAlgorithmIdentifierFinder
public class DefaultMacAlgorithmIdentifierFinder extends java.lang.Object implements MacAlgorithmIdentifierFinder
-
-
Constructor Summary
Constructors Constructor Description DefaultMacAlgorithmIdentifierFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.AlgorithmIdentifier
find(java.lang.String macAlgName)
Find the algorithm identifier that matches with the passed in digest name.
-
-
-
Method Detail
-
find
public org.bouncycastle.asn1.x509.AlgorithmIdentifier find(java.lang.String macAlgName)
Description copied from interface:MacAlgorithmIdentifierFinder
Find the algorithm identifier that matches with the passed in digest name.- Specified by:
find
in interfaceMacAlgorithmIdentifierFinder
- Parameters:
macAlgName
- the name of the digest algorithm of interest.- Returns:
- an algorithm identifier for the MAC.
-
-