Package org.bouncycastle.its
Class ITSCertificateBuilder
java.lang.Object
org.bouncycastle.its.ITSCertificateBuilder
- Direct Known Subclasses:
ITSExplicitCertificateBuilder
,ITSImplicitCertificateBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.bouncycastle.oer.its.ieee1609dot2.basetypes.HashedId3
protected org.bouncycastle.oer.its.ieee1609dot2.basetypes.CrlSeries
protected final ITSCertificate
protected final org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder
protected org.bouncycastle.oer.its.ieee1609dot2.basetypes.UINT8
-
Constructor Summary
ConstructorDescriptionITSCertificateBuilder
(ITSCertificate issuer, org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder tbsCertificateBuilder) ITSCertificateBuilder
(org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder tbsCertificateBuilder) -
Method Summary
Modifier and TypeMethodDescriptionsetAppPermissions
(org.bouncycastle.oer.its.ieee1609dot2.basetypes.PsidSsp... psidSsps) setCertIssuePermissions
(org.bouncycastle.oer.its.ieee1609dot2.PsidGroupPermissions... permissions) setCracaId
(byte[] cracaId) Set the cracaId.setCrlSeries
(int crlSeries) Set the crlSeries.setValidityPeriod
(ITSValidityPeriod validityPeriod) setVersion
(int version) set the version - default value is 3.
-
Field Details
-
tbsCertificateBuilder
protected final org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder tbsCertificateBuilder -
issuer
-
version
protected org.bouncycastle.oer.its.ieee1609dot2.basetypes.UINT8 version -
cracaId
protected org.bouncycastle.oer.its.ieee1609dot2.basetypes.HashedId3 cracaId -
crlSeries
protected org.bouncycastle.oer.its.ieee1609dot2.basetypes.CrlSeries crlSeries
-
-
Constructor Details
-
ITSCertificateBuilder
public ITSCertificateBuilder(org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder tbsCertificateBuilder) -
ITSCertificateBuilder
public ITSCertificateBuilder(ITSCertificate issuer, org.bouncycastle.oer.its.ieee1609dot2.ToBeSignedCertificate.Builder tbsCertificateBuilder)
-
-
Method Details
-
getIssuer
-
setVersion
set the version - default value is 3.- Parameters:
version
- certificate version.- Returns:
- the current builder.
-
setCracaId
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
- hashedId for the craca, the ID of the CRL manager.- Returns:
- the current builder.
-
setCrlSeries
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
- id for the CRL series for revocation.- Returns:
- the current builder.
-
setValidityPeriod
-
setCertIssuePermissions
public ITSCertificateBuilder setCertIssuePermissions(org.bouncycastle.oer.its.ieee1609dot2.PsidGroupPermissions... permissions) -
setAppPermissions
public ITSCertificateBuilder setAppPermissions(org.bouncycastle.oer.its.ieee1609dot2.basetypes.PsidSsp... psidSsps)
-