blob: 59d6ce8bf4a967ea062e0b8a8a730f606453dc9c [file] [log] [blame]
package org.bouncycastle.cms;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
public interface CMSSignatureAlgorithmNameGenerator
{
/**
* Return the digest algorithm using one of the standard string
* representations rather than the algorithm object identifier (if possible).
*
* @param digestAlg the digest algorithm id.
* @param encryptionAlg the encryption, or signing, algorithm id.
*/
String getSignatureName(AlgorithmIdentifier digestAlg, AlgorithmIdentifier encryptionAlg);
}