org.bouncycastle.operator.MacAlgorithmIdentifierFinder Maven / Gradle / Ivy
package org.bouncycastle.operator;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
public interface MacAlgorithmIdentifierFinder
{
/**
* Find the algorithm identifier that matches with
* the passed in digest name.
*
* @param macAlgName the name of the digest algorithm of interest.
* @return an algorithm identifier for the MAC.
*/
AlgorithmIdentifier find(String macAlgName);
}