Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SupportedECSignatureAlgorithms (0.35 sec)

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

    			}
    		})
    	}
    }
    
    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 {
    		t.Fatalf("Error creating Mock CA client: %v", err)
    		return nil
    	}
    	return csrPEM
    }
    
    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/pki/ca/ca_test.go

    		t.Fatalf("Private key does not match, want %v got %v", KeyPem, serverSecret.Data[PrivateKeyFile])
    	}
    }
    
    func createCA(maxTTL time.Duration, ecSigAlg util.SupportedECSignatureAlgorithms) (*IstioCA, error) {
    	// Generate root CA key and cert.
    	rootCAOpts := util.CertOptions{
    		IsCA:         true,
    		IsSelfSigned: true,
    		TTL:          time.Hour,
    		Org:          "Root CA",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache.go

    	options := pkiutil.CertOptions{
    		Host:       csrHostName.String(),
    		RSAKeySize: sc.configOptions.WorkloadRSAKeySize,
    		PKCS8Key:   sc.configOptions.Pkcs8Keys,
    		ECSigAlg:   pkiutil.SupportedECSignatureAlgorithms(sc.configOptions.ECCSigAlg),
    		ECCCurve:   pkiutil.SupportedEllipticCurves(sc.configOptions.ECCCurve),
    	}
    
    	// Generate the cert/key, send CSR to CA.
    	csrPEM, keyPEM, err := pkiutil.GenCSR(options)
    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