}
}
protected void addV3CRLDistPoint(final JcaX509v3CertificateBuilder builder, BouncyCastleCertificateBuilderRequest request) {
if (ConditionUtils.isNotEmpty(request.getCrlDistPoint())) {
GeneralName gn = new GeneralName(6, new DERIA5String(request.getCrlDistPoint()));
ASN1EncodableVector vec = new ASN1EncodableVector();
vec.add(gn);
GeneralNames generalNames = new GeneralNames(new DERSequence(vec));
DistributionPointName distributionPointName = new DistributionPointName(0, generalNames);
CRLDistPoint crlDistPoint = new CRLDistPoint(new DistributionPoint[] { new DistributionPoint(distributionPointName, null, null) });
builder.addExtension(X509Extension.cRLDistributionPoints, false, crlDistPoint);
builder.addExtension(MiscObjectIdentifiers.netscapeCApolicyURL, false, new DERIA5String(request.getCrlDistPoint()));
}
}