public class DefaultCMSSignatureEncryptionAlgorithmFinder extends java.lang.Object implements CMSSignatureEncryptionAlgorithmFinder
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map |
GOST_ENC |
protected static java.util.Set |
RSA_PKCS1d5 |
| Constructor and Description |
|---|
DefaultCMSSignatureEncryptionAlgorithmFinder() |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm)
Return the encryption algorithm identifier associated with the passed in signatureAlgorithm
|
protected static final java.util.Set RSA_PKCS1d5
protected static final java.util.Map GOST_ENC
public DefaultCMSSignatureEncryptionAlgorithmFinder()
public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm)
CMSSignatureEncryptionAlgorithmFinderfindEncryptionAlgorithm in interface CMSSignatureEncryptionAlgorithmFindersignatureAlgorithm - the algorithm identifier of the signature of interest