docs: synchronized KeyAndCertificateFactory buildAndSaveCertificateAuthorityCertificates() throws Exception {
          KeyPair caKeyPair = generateKeyPair(ROOT_KEYSIZE);
  
          saveCertificateAsPEMFile(createCACert(caKeyPair.getPublic(), caKeyPair.getPrivate()), "CertificateAuthorityCertificate.pem", false);
          saveCertificateAsPEMFile(caKeyPair.getPublic(), "CertificateAuthorityPublicKey.pem", false);
          saveCertificateAsPEMFile(caKeyPair.getPrivate(), "CertificateAuthorityPrivateKey.pem", false);
  
          return this;
      }