public interface

ContentVerifierProvider

org.bouncycastle.operator.ContentVerifierProvider

Class Overview

General interface for providers of ContentVerifier objects.

Summary

Public Methods
abstract ContentVerifier get(AlgorithmIdentifier verifierAlgorithmIdentifier)
Return a ContentVerifier that matches the passed in algorithm identifier,
abstract X509CertificateHolder getAssociatedCertificate()
Return the associated certificate if there is one.
abstract boolean hasAssociatedCertificate()
Return whether or not this verifier has a certificate associated with it.

Public Methods

public 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
Throws
OperatorCreationException if the required ContentVerifier cannot be created.

public 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.

public 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.