Top Description Methods
org.bouncycastle.cms

public Interface CMSSignatureEncryptionAlgorithmFinder

Known Direct Implementers
org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder
Imports
org.bouncycastle.asn1.x509.AlgorithmIdentifier

Finder which is used to look up the algorithm identifiers representing the encryption algorithms that are associated with a particular signature algorithm.

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier

Returns:

the algorithm identifier to be associated with the encryption algorithm used in signature creation.
findEncryptionAlgorithm
(AlgorithmIdentifier
the algorithm identifier of the signature of interest
signatureAlgorithm
)

Return the encryption algorithm identifier associated with the passed in signatureAlgorithm

Method Detail

findEncryptionAlgorithmback to summary
public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm)

Return the encryption algorithm identifier associated with the passed in signatureAlgorithm

Parameters
signatureAlgorithm:AlgorithmIdentifier

the algorithm identifier of the signature of interest

Returns:AlgorithmIdentifier

the algorithm identifier to be associated with the encryption algorithm used in signature creation.