Interface ITSContentVerifierProvider

All Known Implementing Classes:
BcITSContentVerifierProvider, JcaITSContentVerifierProvider

public interface ITSContentVerifierProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int signatureChoice)
    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

      boolean hasAssociatedCertificate()
      Return whether or not this verifier has a certificate associated with it.
      Returns:
      true if there is an associated certificate, false otherwise.
    • getAssociatedCertificate

      ITSCertificate getAssociatedCertificate()
      Return the associated certificate if there is one.
      Returns:
      a holder containing the associated certificate if there is one, null if there is not.
    • get

      ContentVerifier get(int signatureChoice) throws OperatorCreationException
      Return a ContentVerifier that matches the passed in algorithm identifier,
      Parameters:
      signatureChoice - the algorithm choice
      Returns:
      a matching ContentVerifier
      Throws:
      OperatorCreationException - if the required ContentVerifier cannot be created.