org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcpkix-fips Show documentation
Show all versions of bcpkix-fips Show documentation
The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation. The APIs are designed primarily to be used in conjunction with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified.
package org.bouncycastle.cms;
import 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.
*/
public interface CMSSignatureEncryptionAlgorithmFinder
{
/**
* Return the encryption algorithm identifier associated with the passed in signatureAlgorithm
* @param signatureAlgorithm the algorithm identifier of the signature of interest
* @return the algorithm identifier to be associated with the encryption algorithm used in signature creation.
*/
AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy