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 |
|---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
findEncryptionAlgorithm(org.bouncycastle.asn1.x509.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 org.bouncycastle.asn1.x509.AlgorithmIdentifier findEncryptionAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
CMSSignatureEncryptionAlgorithmFinderfindEncryptionAlgorithm in interface CMSSignatureEncryptionAlgorithmFindersignatureAlgorithm - the algorithm identifier of the signature of interest