code: func (ra *RegistrationAuthorityImpl) NewCertificate(ctx context.Context, req core.CertificateRequest, regID int64) (core.Certificate, error) {
  	// Verify the CSR
  	if err := csrlib.VerifyCSR(req.CSR, ra.maxNames, &ra.keyPolicy, ra.PA, ra.forceCNFromSAN, regID); err != nil {
  		return core.Certificate{}, berrors.MalformedError(err.Error())
  	}
  	// NewCertificate provides an order ID of 0, indicating this is a classic ACME
  	// v1 issuance request from the new certificate endpoint that is not
  	// associated with an ACME v2 order.
  	return ra.issueCertificate(ctx, req, accountID(regID), orderID(0))
  }
docs: // NewCertificate requests the issuance of a certificate.