} else {
builder = new JcaX509v3CertificateBuilder(request.getIssuerAsX500Name(), request.getSerialNumber(), request.getNotBefore(), request.getNotAfter(), request.getSubjectAsX500Name(), request.getPublicKey());
contentSigner = contentSignerBuilder.build(request.getPrivateKey());
}
SubjectKeyIdentifierStructure subjectKeyIdentifierStructure = new SubjectKeyIdentifierStructure(request.getPublicKey());
builder.addExtension(X509Extension.subjectKeyIdentifier, false, subjectKeyIdentifierStructure);
this.addV3KeyUsage(builder, request);
this.addV3ExtendedKeyUsage(builder, request);
this.addV3CertificatePolicies(builder, request);