docs: public static X509Certificate newX509CertificateV1(KeyPair keyPair, X500Name issuer,
  		BigInteger serial, Date notBefore, Date notAfter, X500Name subject,
  		String signatureAlgorithm) throws OperatorCreationException, CertificateException
  	{
  		X509v1CertificateBuilder certBuilder = new JcaX509v1CertificateBuilder(issuer, serial,
  			notBefore, notAfter, subject, keyPair.getPublic());
  		ContentSigner signer = new JcaContentSignerBuilder(signatureAlgorithm)
  			.setProvider(SecurityProvider.BC.name()).build(keyPair.getPrivate());
  		X509Certificate x509Certificate = new JcaX509CertificateConverter()
  			.setProvider(SecurityProvider.BC.name()).getCertificate(certBuilder.build(signer));
  		return x509Certificate;
  	}