Bouncy Castle Cryptography Library 1.79

org.bouncycastle.operator
Interface ContentVerifierProvider


public interface ContentVerifierProvider

General interface for providers of ContentVerifier objects.


Method Summary
 ContentVerifier get(org.bouncycastle.asn1.x509.AlgorithmIdentifier verifierAlgorithmIdentifier)
          Return a ContentVerifier that matches the passed in algorithm identifier,
 X509CertificateHolder getAssociatedCertificate()
          Return the associated certificate if there is one.
 boolean hasAssociatedCertificate()
          Return whether or not this verifier has a certificate associated with it.
 

Method Detail

hasAssociatedCertificate

public 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

public 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

public ContentVerifier get(org.bouncycastle.asn1.x509.AlgorithmIdentifier verifierAlgorithmIdentifier)
                    throws OperatorCreationException
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.

Bouncy Castle Cryptography Library 1.79