public abstract class BcContentVerifierProviderBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected BcDigestProvider |
digestProvider |
| Constructor and Description |
|---|
BcContentVerifierProviderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ContentVerifierProvider |
build(org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) |
ContentVerifierProvider |
build(X509CertificateHolder certHolder) |
protected abstract org.bouncycastle.crypto.Signer |
createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
Create the correct signer for the algorithm identifier sigAlgId.
|
protected abstract org.bouncycastle.crypto.params.AsymmetricKeyParameter |
extractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
|
protected BcDigestProvider digestProvider
public ContentVerifierProvider build(X509CertificateHolder certHolder) throws OperatorCreationException
OperatorCreationExceptionpublic ContentVerifierProvider build(org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) throws OperatorCreationException
OperatorCreationExceptionprotected abstract org.bouncycastle.crypto.params.AsymmetricKeyParameter extractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
throws java.io.IOException
publicKeyInfo - a publicKeyInfo structure describing the public key required.java.io.IOException - if the publicKeyInfo data cannot be parsed,protected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
throws OperatorCreationException
sigAlgId - the algorithm details for the signature we want to verify.OperatorCreationException - if the Signer cannot be constructed.