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