aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/CMSSignatureAlgorithmNameGenerator.java
blob: 8941a90bbe1432512e8aa3500a8eacaaa6791a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.spongycastle.cms;

import org.spongycastle.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);
}