Interface ContentVerifierProvider

  • All Implemented Interfaces:

    
    public interface ContentVerifierProvider
    
                        

    General interface for providers of ContentVerifier objects.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean hasAssociatedCertificate() Return whether or not this verifier has a certificate associated with it.
      abstract X509CertificateHolder getAssociatedCertificate() Return the associated certificate if there is one.
      abstract ContentVerifier get(AlgorithmIdentifier verifierAlgorithmIdentifier) Return a ContentVerifier that matches the passed in algorithm identifier,
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • hasAssociatedCertificate

         abstract 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

         abstract X509CertificateHolder 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

         abstract ContentVerifier get(AlgorithmIdentifier verifierAlgorithmIdentifier)

        Return a ContentVerifier that matches the passed in algorithm identifier,

        Parameters:
        verifierAlgorithmIdentifier - the algorithm and parameters required.
        Returns:

        a matching ContentVerifier