Top Description Methods
org.bouncycastle.operator

public Interface ContentVerifierProvider

Imports
org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cert.X509CertificateHolder

General interface for providers of ContentVerifier objects.

Method Summary

Modifier and TypeMethod and Description
public ContentVerifier

Returns:

a matching ContentVerifier
get
(AlgorithmIdentifier
the algorithm and parameters required.
verifierAlgorithmIdentifier
)

Return a ContentVerifier that matches the passed in algorithm identifier,

public X509CertificateHolder

Returns:

a holder containing the associated certificate if there is one, null if there is not.
getAssociatedCertificate
()

Return the associated certificate if there is one.

public boolean

Returns:

true if there is an associated certificate, false otherwise.
hasAssociatedCertificate
()

Return whether or not this verifier has a certificate associated with it.

Method Detail

getback to summary
public ContentVerifier get(AlgorithmIdentifier verifierAlgorithmIdentifier) throws OperatorCreationException

Return a ContentVerifier that matches the passed in algorithm identifier,

Parameters
verifierAlgorithmIdentifier:AlgorithmIdentifier

the algorithm and parameters required.

Returns:ContentVerifier

a matching ContentVerifier

Exceptions
OperatorCreationException:
if the required ContentVerifier cannot be created.
getAssociatedCertificateback to summary
public X509CertificateHolder getAssociatedCertificate()

Return the associated certificate if there is one.

Returns:X509CertificateHolder

a holder containing the associated certificate if there is one, null if there is not.

hasAssociatedCertificateback to summary
public boolean hasAssociatedCertificate()

Return whether or not this verifier has a certificate associated with it.

Returns:boolean

true if there is an associated certificate, false otherwise.