public class BcRSAContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder
| Constructor and Description |
|---|
BcRSAContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) |
| Modifier and Type | Method and Description |
|---|---|
protected Signer |
createSigner(AlgorithmIdentifier sigAlgId)
Create the correct signer for the algorithm identifier sigAlgId.
|
protected AsymmetricKeyParameter |
extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo)
Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
|
build, buildpublic BcRSAContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder)
protected Signer createSigner(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 AsymmetricKeyParameter extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) throws IOException
BcContentVerifierProviderBuilderextractKeyParameters in class BcContentVerifierProviderBuilderpublicKeyInfo - a publicKeyInfo structure describing the public key required.IOException - if the publicKeyInfo data cannot be parsed,Copyright © 2015. All rights reserved.