Package org.bouncycastle.its.jcajce
Class JcaITSContentVerifierProvider
java.lang.Object
org.bouncycastle.its.jcajce.JcaITSContentVerifierProvider
- All Implemented Interfaces:
ITSContentVerifierProvider
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(int verifierAlgorithmIdentifier) Return a ContentVerifier that matches the passed in algorithm identifier,Return the associated certificate if there is one.boolean
Return whether or not this verifier has a certificate associated with it.
-
Method Details
-
hasAssociatedCertificate
public boolean hasAssociatedCertificate()Description copied from interface:ITSContentVerifierProvider
Return whether or not this verifier has a certificate associated with it.- Specified by:
hasAssociatedCertificate
in interfaceITSContentVerifierProvider
- Returns:
- true if there is an associated certificate, false otherwise.
-
getAssociatedCertificate
Description copied from interface:ITSContentVerifierProvider
Return the associated certificate if there is one.- Specified by:
getAssociatedCertificate
in interfaceITSContentVerifierProvider
- Returns:
- a holder containing the associated certificate if there is one, null if there is not.
-
get
Description copied from interface:ITSContentVerifierProvider
Return a ContentVerifier that matches the passed in algorithm identifier,- Specified by:
get
in interfaceITSContentVerifierProvider
- Parameters:
verifierAlgorithmIdentifier
- the algorithm choice- Returns:
- a matching ContentVerifier
- Throws:
OperatorCreationException
- if the required ContentVerifier cannot be created.
-