Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncodeCSRPEM (0.12 sec)

  1. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    				"[certificates] WARNING: '%s' was not added to the '%s' SAN, because it is not a valid IP or RFC-1123 compliant DNS entry\n",
    				altname,
    				certName,
    			)
    		}
    	}
    }
    
    // EncodeCSRPEM returns PEM-encoded CSR data
    func EncodeCSRPEM(csr *x509.CertificateRequest) []byte {
    	block := pem.Block{
    		Type:  certutil.CertificateRequestBlockType,
    		Bytes: csr.Raw,
    	}
    	return pem.EncodeToMemory(&block)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top