Package org.bouncycastle.operator.bc
Class BcECContentVerifierProviderBuilder
- java.lang.Object
 - 
- org.bouncycastle.operator.bc.BcContentVerifierProviderBuilder
 - 
- org.bouncycastle.operator.bc.BcECContentVerifierProviderBuilder
 
 
 
- 
public class BcECContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder
 
- 
- 
Field Summary
- 
Fields inherited from class org.bouncycastle.operator.bc.BcContentVerifierProviderBuilder
digestProvider 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.bouncycastle.crypto.SignercreateSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)Create the correct signer for the algorithm identifier sigAlgId.protected org.bouncycastle.crypto.params.AsymmetricKeyParameterextractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.- 
Methods inherited from class org.bouncycastle.operator.bc.BcContentVerifierProviderBuilder
build, build 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
BcECContentVerifierProviderBuilder
public BcECContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder)
 
 - 
 
- 
Method Detail
- 
createSigner
protected org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId) throws OperatorCreationExceptionDescription copied from class:BcContentVerifierProviderBuilderCreate the correct signer for the algorithm identifier sigAlgId.- Specified by:
 createSignerin classBcContentVerifierProviderBuilder- Parameters:
 sigAlgId- the algorithm details for the signature we want to verify.- Returns:
 - a Signer object.
 - Throws:
 OperatorCreationException- if the Signer cannot be constructed.
 
- 
extractKeyParameters
protected org.bouncycastle.crypto.params.AsymmetricKeyParameter extractKeyParameters(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws java.io.IOExceptionDescription copied from class:BcContentVerifierProviderBuilderExtract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.- Specified by:
 extractKeyParametersin classBcContentVerifierProviderBuilder- Parameters:
 publicKeyInfo- a publicKeyInfo structure describing the public key required.- Returns:
 - an AsymmetricKeyParameter object containing the appropriate public key.
 - Throws:
 java.io.IOException- if the publicKeyInfo data cannot be parsed,
 
 - 
 
 -