public class BcITSContentVerifierProvider extends java.lang.Object implements ITSContentVerifierProvider
Constructor and Description |
---|
BcITSContentVerifierProvider(ITSCertificate issuer) |
Modifier and Type | Method and Description |
---|---|
ContentVerifier |
get(int verifierAlgorithmIdentifier)
Return a ContentVerifier that matches the passed in algorithm identifier,
|
ITSCertificate |
getAssociatedCertificate()
Return the associated certificate if there is one.
|
boolean |
hasAssociatedCertificate()
Return whether or not this verifier has a certificate associated with it.
|
public BcITSContentVerifierProvider(ITSCertificate issuer) throws java.io.IOException
java.io.IOException
public ITSCertificate getAssociatedCertificate()
ITSContentVerifierProvider
getAssociatedCertificate
in interface ITSContentVerifierProvider
public boolean hasAssociatedCertificate()
ITSContentVerifierProvider
hasAssociatedCertificate
in interface ITSContentVerifierProvider
public ContentVerifier get(int verifierAlgorithmIdentifier) throws OperatorCreationException
ITSContentVerifierProvider
get
in interface ITSContentVerifierProvider
verifierAlgorithmIdentifier
- the algorithm choiceOperatorCreationException
- if the required ContentVerifier cannot be created.