code: func EncodeCSRPEM(csr *x509.CertificateRequest) []byte {
  	block := pem.Block{
  		Type:  certutil.CertificateRequestBlockType,
  		Bytes: csr.Raw,
  	}
  	return pem.EncodeToMemory(&block)
  }
docs: // EncodeCSRPEM returns PEM-encoded CSR data