Class JcaC509ContentVerifierProviderBuilder
java.lang.Object
org.bouncycastle.cert.c509.jcajce.JcaC509ContentVerifierProviderBuilder
JCA/JCE builder of
ContentVerifierProviders for checking C509 certificate
and certification request signatures. The provider is built on the signer's public
key - for a certificate the issuer's, for a certification request the subject's -
with the C509 form of the key (including a compressed point) already expanded into
a standard SubjectPublicKeyInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild a verifier provider on the given public key.build(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) Build a verifier provider on the given public key info.build(C509CertificateHolder issuerCertificate) Build a verifier provider on the subject public key of the given certificate - the issuer certificate of whatever is being verified.setProvider(String providerName) setProvider(Provider provider)
-
Constructor Details
-
JcaC509ContentVerifierProviderBuilder
public JcaC509ContentVerifierProviderBuilder()
-
-
Method Details
-
setProvider
-
setProvider
-
build
public ContentVerifierProvider build(C509CertificateHolder issuerCertificate) throws OperatorCreationException Build a verifier provider on the subject public key of the given certificate - the issuer certificate of whatever is being verified.- Throws:
OperatorCreationException
-
build
public ContentVerifierProvider build(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws OperatorCreationException Build a verifier provider on the given public key info.- Throws:
OperatorCreationException
-
build
Build a verifier provider on the given public key.- Throws:
OperatorCreationException
-