Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    			}
    		} else if reflect.TypeOf(csr.PublicKey) != reflect.TypeOf(&rsa.PublicKey{}) {
    			t.Errorf("%s: decoded PKCS#8 returned unexpected key type: %T", id, csr.PublicKey)
    		}
    	}
    }
    
    func TestGenCSRPKCS8Key(t *testing.T) {
    	// Options to generate a CSR.
    	cases := map[string]struct {
    		csrOptions CertOptions
    	}{
    		"PKCS8Key with RSA": {
    			csrOptions: CertOptions{
    				Host:       "test_ca.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top