- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SupportedECSignatureAlgorithms (0.42 sec)
-
security/pkg/pki/util/generate_cert.go
"encoding/pem" "errors" "fmt" "math/big" "os" "strings" "time" "istio.io/istio/pkg/log" ) // SupportedECSignatureAlgorithms are the types of EC Signature Algorithms // to be used in key generation (e.g. ECDSA or ED2551) type SupportedECSignatureAlgorithms string // SupportedEllipticCurves are the types of curves // to be used in key generation (e.g. P256, P384) type SupportedEllipticCurves string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 14:34:38 UTC 2023 - 14.2K bytes - Viewed (0) -
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) -
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) -
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)