Package org.bouncycastle.cms
Class DefaultCMSSignatureEncryptionAlgorithmFinder
java.lang.Object
org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder
- All Implemented Interfaces:
CMSSignatureEncryptionAlgorithmFinder
public class DefaultCMSSignatureEncryptionAlgorithmFinder
extends Object
implements CMSSignatureEncryptionAlgorithmFinder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifier
findEncryptionAlgorithm
(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm) Return the encryption algorithm identifier associated with the passed in signatureAlgorithm
-
Field Details
-
RSA_PKCS1d5
-
GOST_ENC
-
-
Constructor Details
-
DefaultCMSSignatureEncryptionAlgorithmFinder
public DefaultCMSSignatureEncryptionAlgorithmFinder()
-
-
Method Details
-
findEncryptionAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier findEncryptionAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm) Description copied from interface:CMSSignatureEncryptionAlgorithmFinder
Return the encryption algorithm identifier associated with the passed in signatureAlgorithm- Specified by:
findEncryptionAlgorithm
in interfaceCMSSignatureEncryptionAlgorithmFinder
- Parameters:
signatureAlgorithm
- the algorithm identifier of the signature of interest- Returns:
- the algorithm identifier to be associated with the encryption algorithm used in signature creation.
-