public class BcECContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder
digestProvider| Constructor and Description |
|---|
BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) |
| Modifier and Type | Method and Description |
|---|---|
protected org.bouncycastle.crypto.Signer |
createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
Create the correct signer for the algorithm identifier sigAlgId.
|
protected org.bouncycastle.crypto.params.AsymmetricKeyParameter |
extractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
|
build, buildpublic BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder)
protected org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
throws OperatorCreationException
BcContentVerifierProviderBuildercreateSigner in class BcContentVerifierProviderBuildersigAlgId - the algorithm details for the signature we want to verify.OperatorCreationException - if the Signer cannot be constructed.protected org.bouncycastle.crypto.params.AsymmetricKeyParameter extractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
throws java.io.IOException
BcContentVerifierProviderBuilderextractKeyParameters in class BcContentVerifierProviderBuilderpublicKeyInfo - a publicKeyInfo structure describing the public key required.java.io.IOException - if the publicKeyInfo data cannot be parsed,