Top Inners Fields Constructors Methods
org.bouncycastle.its.jcajce

public Class JcaITSContentVerifierProvider

extends Object
implements ITSContentVerifierProvider
Class Inheritance
All Implemented Interfaces
org.bouncycastle.its.operator.ITSContentVerifierProvider
Imports
java.io.IOException, .OutputStream, java.security.Provider, .Signature, java.security.interfaces.ECPublicKey, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.its.ITSCertificate, .ITSPublicVerificationKey, org.bouncycastle.its.operator.ITSContentVerifierProvider, org.bouncycastle.jcajce.util.DefaultJcaJceHelper, .JcaJceHelper, .NamedJcaJceHelper, .ProviderJcaJceHelper, 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, .DigestCalculator, .DigestCalculatorProvider, .OperatorCreationException, org.bouncycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder, org.bouncycastle.util.Arrays

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

Modifier and TypeMethod and Description
public ContentVerifier
get(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.
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

JcaITSContentVerifierProviderback to summary
private JcaITSContentVerifierProvider(ITSCertificate issuer, JcaJceHelper helper)
JcaITSContentVerifierProviderback to summary
private JcaITSContentVerifierProvider(ITSPublicVerificationKey pvi, JcaJceHelper helper)

Method Detail

getback to summary
public ContentVerifier get(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.

initForPviback to summary
private void initForPvi(PublicVerificationKey pvi, JcaJceHelper helper)
org.bouncycastle.its.jcajce back to summary

public Class JcaITSContentVerifierProvider.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.its.jcajce.JcaITSContentVerifierProvider.Builder

Field Summary

Modifier and TypeField and Description
private JcaJceHelper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JcaITSContentVerifierProvider
public JcaITSContentVerifierProvider
public JcaITSContentVerifierProvider.Builder
public JcaITSContentVerifierProvider.Builder
setProvider(String providerName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

helperback to summary
private JcaJceHelper helper

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public JcaITSContentVerifierProvider build(ITSCertificate issuer)
buildback to summary
public JcaITSContentVerifierProvider build(ITSPublicVerificationKey issuer)
setProviderback to summary
public JcaITSContentVerifierProvider.Builder setProvider(Provider provider)
setProviderback to summary
public JcaITSContentVerifierProvider.Builder setProvider(String providerName)