Top Fields Constructors Methods
org.bouncycastle.its.bc

public Class BcITSContentVerifierProvider

extends Object
implements ITSContentVerifierProvider
Class Inheritance
All Implemented Interfaces
org.bouncycastle.its.operator.ITSContentVerifierProvider
Imports
java.io.IOException, .OutputStream, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.Digest, org.bouncycastle.crypto.params.ECPublicKeyParameters, org.bouncycastle.crypto.signers.DSADigestSigner, .ECDSASigner, org.bouncycastle.its.ITSCertificate, org.bouncycastle.its.operator.ITSContentVerifierProvider, org.bouncycastle.oer.OEREncoder, org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate, .VerificationKeyIndicator, org.bouncycastle.oer.its.ieee1609dot2.basetypes.PublicVerificationKey, org.bouncycastle.oer.its.template.ieee1609dot2.IEEE1609dot2, org.bouncycastle.operator.ContentVerifier, .OperatorCreationException, org.bouncycastle.operator.bc.BcDefaultDigestProvider, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private final AlgorithmIdentifier
private final ITSCertificate
private final byte[]
private final ECPublicKeyParameters
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ContentVerifier
get(final int
the algorithm choice
verifierAlgorithmIdentifier
)

Implements org.bouncycastle.its.operator.ITSContentVerifierProvider.get.

Return a ContentVerifier that matches the passed in algorithm identifier,
public ITSCertificate
public boolean
hasAssociatedCertificate()

Implements org.bouncycastle.its.operator.ITSContentVerifierProvider.hasAssociatedCertificate.

Return whether or not this verifier has a certificate associated with it.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestAlgoback to summary
private final AlgorithmIdentifier digestAlgo
issuerback to summary
private final ITSCertificate issuer
parentDataback to summary
private final byte[] parentData
pubParamsback to summary
private final ECPublicKeyParameters pubParams
sigChoiceback to summary
private final int sigChoice

Constructor Detail

BcITSContentVerifierProviderback to summary
public BcITSContentVerifierProvider(ITSCertificate issuer) throws IOException

Method Detail

getback to summary
public ContentVerifier get(final int verifierAlgorithmIdentifier) throws OperatorCreationException

Implements org.bouncycastle.its.operator.ITSContentVerifierProvider.get.

Doc from org.bouncycastle.its.operator.ITSContentVerifierProvider.get.

Return a ContentVerifier that matches the passed in algorithm identifier,

Parameters
verifierAlgorithmIdentifier:int

the algorithm choice

Returns:ContentVerifier

a matching ContentVerifier

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

Implements org.bouncycastle.its.operator.ITSContentVerifierProvider.getAssociatedCertificate.

Doc from org.bouncycastle.its.operator.ITSContentVerifierProvider.getAssociatedCertificate.

Return the associated certificate if there is one.

Returns:ITSCertificate

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

hasAssociatedCertificateback to summary
public boolean hasAssociatedCertificate()

Implements org.bouncycastle.its.operator.ITSContentVerifierProvider.hasAssociatedCertificate.

Doc from org.bouncycastle.its.operator.ITSContentVerifierProvider.hasAssociatedCertificate.

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

Returns:boolean

true if there is an associated certificate, false otherwise.