public class BcECContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder
digestProvider
Constructor | Description |
---|---|
BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) |
Modifier and Type | Method | 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, build
public BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder)
protected org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId) throws OperatorCreationException
BcContentVerifierProviderBuilder
createSigner
in class BcContentVerifierProviderBuilder
sigAlgId
- 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
BcContentVerifierProviderBuilder
extractKeyParameters
in class BcContentVerifierProviderBuilder
publicKeyInfo
- a publicKeyInfo structure describing the public key required.java.io.IOException
- if the publicKeyInfo data cannot be parsed,