Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParsePemEncodedCSR (0.26 sec)

  1. security/pkg/pki/util/crypto_test.go

    			pem:    certECDSA,
    		},
    		"Parse CSR": {
    			algo: x509.RSA,
    			pem:  csr,
    		},
    	}
    
    	for id, c := range testCases {
    		_, err := ParsePemEncodedCSR([]byte(c.pem))
    		if c.errMsg != "" {
    			if err == nil {
    				t.Errorf(`%s: no error is returned, expected "%s"`, id, c.errMsg)
    			} else if c.errMsg != err.Error() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top