- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSubjectIDs (0.18 sec)
-
security/pkg/pki/ra/k8s_ra_test.go
if err != nil { t.Errorf("Validation CSR failed") } var testSubjectIDs []string // Test Case 1 testSubjectIDs = []string{testCsrHostName, "Random-Host-Name"} if !ValidateCSR(csrPEM, testSubjectIDs) { t.Errorf("Test 1: CSR Validation failed") } // Test Case 2 testSubjectIDs = []string{"Random-Host-Name"} if ValidateCSR(csrPEM, testSubjectIDs) { t.Errorf("Test 2: CSR Validation failed") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 00:44:54 UTC 2023 - 9.7K bytes - Viewed (0)