Package org.bouncycastle.cert.c509.bc
Class BcC509ContentVerifierProviderBuilder
- java.lang.Object
-
- org.bouncycastle.cert.c509.bc.BcC509ContentVerifierProviderBuilder
-
public class BcC509ContentVerifierProviderBuilder extends java.lang.ObjectLightweight builder ofContentVerifierProviders 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 Constructor Description BcC509ContentVerifierProviderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentVerifierProviderbuild(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)Build a verifier provider on the given public key info.ContentVerifierProviderbuild(C509CertificateHolder issuerCertificate)Build a verifier provider on the subject public key of the given certificate - the issuer certificate of whatever is being verified.
-
-
-
Method Detail
-
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
-
-