Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms
Interface CMSSignatureAlgorithmNameGenerator

All Known Implementing Classes:
DefaultCMSSignatureAlgorithmNameGenerator

public interface CMSSignatureAlgorithmNameGenerator


Method Summary
 java.lang.String getSignatureName(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptionAlg)
          Return the digest algorithm using one of the standard string representations rather than the algorithm object identifier (if possible).
 

Method Detail

getSignatureName

public java.lang.String getSignatureName(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlg,
                                         org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptionAlg)
Return the digest algorithm using one of the standard string representations rather than the algorithm object identifier (if possible).
Parameters:
digestAlg - the digest algorithm id.
encryptionAlg - the encryption, or signing, algorithm id.

Bouncy Castle Cryptography Library 1.79