1 package org.bouncycastle.cms; 2 3 import org.bouncycastle.asn1.x509.AlgorithmIdentifier; 4 5 public interface CMSSignatureAlgorithmNameGenerator 6 { 7 /** 8 * Return the digest algorithm using one of the standard string 9 * representations rather than the algorithm object identifier (if possible). 10 * 11 * @param digestAlg the digest algorithm id. 12 * @param encryptionAlg the encryption, or signing, algorithm id. 13 */ getSignatureName(AlgorithmIdentifier digestAlg, AlgorithmIdentifier encryptionAlg)14 String getSignatureName(AlgorithmIdentifier digestAlg, AlgorithmIdentifier encryptionAlg); 15 } 16