Package org.bouncycastle.cms.jcajce
Class JcaSignerInfoVerifierBuilder
java.lang.Object
org.bouncycastle.cms.jcajce.JcaSignerInfoVerifierBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(X509Certificate certificate) build
(X509CertificateHolder certHolder) setProvider
(String providerName) setProvider
(Provider provider) setSignatureAlgorithmFinder
(SignatureAlgorithmIdentifierFinder sigAlgIDFinder) Override the default signature algorithm name generator.
-
Constructor Details
-
JcaSignerInfoVerifierBuilder
-
-
Method Details
-
setProvider
-
setProvider
-
setSignatureAlgorithmNameGenerator
public JcaSignerInfoVerifierBuilder setSignatureAlgorithmNameGenerator(CMSSignatureAlgorithmNameGenerator sigAlgNameGen) Override the default signature algorithm name generator.- Parameters:
sigAlgNameGen
- the algorithm name generator to use.- Returns:
- the current builder.
-
setSignatureAlgorithmFinder
public JcaSignerInfoVerifierBuilder setSignatureAlgorithmFinder(SignatureAlgorithmIdentifierFinder sigAlgIDFinder) -
build
public SignerInformationVerifier build(X509CertificateHolder certHolder) throws OperatorCreationException, CertificateException -
build
public SignerInformationVerifier build(X509Certificate certificate) throws OperatorCreationException - Throws:
OperatorCreationException
-
build
- Throws:
OperatorCreationException
-