Top Fields Constructors Methods
org.bouncycastle.its

public Class ITSCertificateBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.its.ITSExplicitCertificateBuilder, org.bouncycastle.its.ITSImplicitCertificateBuilder
Imports
org.bouncycastle.asn1.ASN1Integer, org.bouncycastle.oer.its.ieee1609dot2.basetypes.CrlSeries, .HashedId3, .PsidSsp, .SequenceOfPsidSsp, .UINT8, org.bouncycastle.oer.its.ieee1609dot2.PsidGroupPermissions, .SequenceOfPsidGroupPermissions, .ToBeSignedCertificate

Field Summary

Modifier and TypeField and Description
protected HashedId3
protected CrlSeries
protected final ITSCertificate
protected final ToBeSignedCertificate.Builder
protected UINT8

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public ITSCertificate
public ITSCertificateBuilder
public ITSCertificateBuilder
public ITSCertificateBuilder

Returns:

the current builder.
setCracaId
(byte[]
hashedId for the craca, the ID of the CRL manager.
cracaId
)

Set the cracaId.

public ITSCertificateBuilder

Returns:

the current builder.
setCrlSeries
(int
id for the CRL series for revocation.
crlSeries
)

Set the crlSeries.

public ITSCertificateBuilder
public ITSCertificateBuilder

Returns:

the current builder.
setVersion
(int
certificate version.
version
)

set the version - default value is 3.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cracaIdback to summary
protected HashedId3 cracaId
crlSeriesback to summary
protected CrlSeries crlSeries
issuerback to summary
protected final ITSCertificate issuer
tbsCertificateBuilderback to summary
protected final ToBeSignedCertificate.Builder tbsCertificateBuilder
versionback to summary
protected UINT8 version

Constructor Detail

ITSCertificateBuilderback to summary
public ITSCertificateBuilder(ToBeSignedCertificate.Builder tbsCertificateBuilder)
ITSCertificateBuilderback to summary
public ITSCertificateBuilder(ITSCertificate issuer, ToBeSignedCertificate.Builder tbsCertificateBuilder)

Method Detail

getIssuerback to summary
public ITSCertificate getIssuer()
setAppPermissionsback to summary
public ITSCertificateBuilder setAppPermissions(PsidSsp... psidSsps)
setCertIssuePermissionsback to summary
public ITSCertificateBuilder setCertIssuePermissions(PsidGroupPermissions... permissions)
setCracaIdback to summary
public ITSCertificateBuilder setCracaId(byte[] cracaId)

Set the cracaId. The default value for the field is 000000'H in line with ETSI TS 103 097 V1.4.1 (2020-10) default/constraint - Section 6.

Parameters
cracaId:byte[]

hashedId for the craca, the ID of the CRL manager.

Returns:ITSCertificateBuilder

the current builder.

setCrlSeriesback to summary
public ITSCertificateBuilder setCrlSeries(int crlSeries)

Set the crlSeries. The default value for the field is 0'D in line with ETSI TS 103 097 V1.4.1 (2020-10) default/constraint - Section 6.

Parameters
crlSeries:int

id for the CRL series for revocation.

Returns:ITSCertificateBuilder

the current builder.

setValidityPeriodback to summary
public ITSCertificateBuilder setValidityPeriod(ITSValidityPeriod validityPeriod)
setVersionback to summary
public ITSCertificateBuilder setVersion(int version)

set the version - default value is 3.

Parameters
version:int

certificate version.

Returns:ITSCertificateBuilder

the current builder.