Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CertOptions (0.18 sec)

  1. security/pkg/k8s/chiron/utils_test.go

    				}
    			} else if err != nil {
    				t.Fatalf("failed at updateMutatingWebhookConfig: %v", err)
    			}
    		})
    	}
    }
    
    func createFakeCsr(t *testing.T) []byte {
    	options := pkiutil.CertOptions{
    		Host:       "fake.com",
    		RSAKeySize: 2048,
    		PKCS8Key:   false,
    		ECSigAlg:   pkiutil.SupportedECSignatureAlgorithms("ECDSA"),
    	}
    	csrPEM, _, err := pkiutil.GenCSR(options)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/cache/secretcache.go

    		Namespace:      sc.configOptions.WorkloadNamespace,
    		ServiceAccount: sc.configOptions.ServiceAccount,
    	}
    
    	cacheLog.Debugf("constructed host name for CSR: %s", csrHostName.String())
    	options := pkiutil.CertOptions{
    		Host:       csrHostName.String(),
    		RSAKeySize: sc.configOptions.WorkloadRSAKeySize,
    		PKCS8Key:   sc.configOptions.Pkcs8Keys,
    		ECSigAlg:   pkiutil.SupportedECSignatureAlgorithms(sc.configOptions.ECCSigAlg),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top