Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RootCertPath (0.14 sec)

  1. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    	caCertPath         = path.Join(sampleKeyCertsPath, "ca-cert.pem")
    	caKeyPath          = path.Join(sampleKeyCertsPath, "ca-key.pem")
    	certChainPath      = []string{path.Join(sampleKeyCertsPath, "cert-chain.pem")}
    	rootCertPath       = path.Join(sampleKeyCertsPath, "root-cert.pem")
    )
    
    // CAClient is the mocked CAClient for testing.
    type CAClient struct {
    	SignInvokeCount uint64
    	bundle          *util.KeyCertBundle
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/crypto/x509/platform_test.go

    // "Certificates" snap-in of mmc.exe.
    
    const (
    	rootCertPath = "platform_root_cert.pem"
    	rootKeyPath  = "platform_root_key.pem"
    )
    
    func TestPlatformVerifier(t *testing.T) {
    	if runtime.GOOS != "windows" && runtime.GOOS != "darwin" {
    		t.Skip("only tested on windows and darwin")
    	}
    
    	der, err := os.ReadFile(rootCertPath)
    	if err != nil {
    		t.Fatalf("failed to read test root: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top