Class BcC509ContentVerifierProviderBuilder
java.lang.Object
org.bouncycastle.cert.c509.bc.BcC509ContentVerifierProviderBuilder
Lightweight builder of
ContentVerifierProviders for checking C509
certificate and certification request signatures, dispatching on the key's
algorithm to the matching lightweight operator builder. RSA and elliptic curve
keys - the algorithms the C509 registries centre on - are supported; use the
JCA/JCE builder for anything else.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(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.
-
Constructor Details
-
BcC509ContentVerifierProviderBuilder
public BcC509ContentVerifierProviderBuilder()
-
-
Method Details
-
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
-