org.bouncycastle.cms
Interface CMSSignatureEncryptionAlgorithmFinder
- All Known Implementing Classes:
- DefaultCMSSignatureEncryptionAlgorithmFinder
- public interface CMSSignatureEncryptionAlgorithmFinder
Finder which is used to look up the algorithm identifiers representing the encryption algorithms that
are associated with a particular signature algorithm.
Method Summary |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
findEncryptionAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
Return the encryption algorithm identifier associated with the passed in signatureAlgorithm |
findEncryptionAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier findEncryptionAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
- Return the encryption algorithm identifier associated with the passed in signatureAlgorithm
- 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.