- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 84 for keyUsages (0.2 sec)
-
pkg/apis/certificates/validation/validation_test.go
Spec: capi.CertificateSigningRequestSpec{ Usages: []capi.KeyUsage{"unknown", "unknown"}, Request: newCSRPEM(t), SignerName: validSignerName, }, }, errs: field.ErrorList{ field.NotSupported(specPath.Child("usages").Index(0), capi.KeyUsage("unknown"), allValidUsages.List()), field.NotSupported(specPath.Child("usages").Index(1), capi.KeyUsage("unknown"), allValidUsages.List()),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 61K bytes - Viewed (0) -
pkg/test/csrctrl/signer/signer.go
return nil, err } ret := &Signer{ caProvider: caProvider, CertTTL: certificateDuration, } return ret, nil } func (s *Signer) Sign(x509cr *x509.CertificateRequest, usages []capi.KeyUsage, requestedLifetime time.Duration, appendRootCert bool) ([]byte, error) { currCA, err := s.caProvider.currentCA() if err != nil { return nil, err } der, err := currCA.Sign(x509cr.Raw, authority.PermissiveSigningPolicy{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 03 18:57:19 UTC 2021 - 2.5K bytes - Viewed (0) -
src/crypto/x509/x509.go
case ecdh.P521(): return oidNamedCurveP521, true } return nil, false } // KeyUsage represents the set of actions that are valid for a given key. It's // a bitmap of the KeyUsage* constants. type KeyUsage int const ( KeyUsageDigitalSignature KeyUsage = 1 << iota KeyUsageContentCommitment KeyUsageKeyEncipherment KeyUsageDataEncipherment KeyUsageKeyAgreement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
pkg/test/cert/ca/root.go
utf8 = yes default_md = sha256 default_bits = 4096 req_extensions = req_ext x509_extensions = req_ext distinguished_name = req_dn [ req_ext ] subjectKeyIdentifier = hash basicConstraints = critical, CA:true keyUsage = critical, digitalSignature, nonRepudiation, keyEncipherment, keyCertSign [ req_dn ] O = Istio CN = Root CA` // Root contains the cryptographic files for a self-signed root CA. type Root struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 2.3K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation.go
return true // compatibility with existing data default: return false } } func hasDuplicateUsage(usages []certificates.KeyUsage) bool { seen := make(map[certificates.KeyUsage]bool, len(usages)) for _, usage := range usages { if seen[usage] { return true } seen[usage] = true } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/apis/certificates/v1/zz_generated.conversion.go
out.Request = *(*[]byte)(unsafe.Pointer(&in.Request)) out.SignerName = in.SignerName out.ExpirationSeconds = (*int32)(unsafe.Pointer(in.ExpirationSeconds)) out.Usages = *(*[]certificates.KeyUsage)(unsafe.Pointer(&in.Usages)) out.Username = in.Username out.UID = in.UID out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups)) out.Extra = *(*map[string]certificates.ExtraValue)(unsafe.Pointer(&in.Extra))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 14.4K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
Status: cert.CertificateSigningRequestStatus{ Certificate: []byte(exampleIssuedCert), }, } client.PrependReactor("get", "certificatesigningrequests", defaultReactionFunc(csr)) usages := []cert.KeyUsage{ cert.UsageDigitalSignature, cert.UsageKeyEncipherment, cert.UsageServerAuth, cert.UsageClientAuth, } r, err := submitCSR(client, []byte("test-pem"), "test-signer",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
key: ec256Priv, issuer: &Certificate{ KeyUsage: KeyUsageCertSign, }, template: &RevocationList{}, expectedError: "x509: issuer must have the crlSign key usage bit set", }, { name: "issuer missing SubjectKeyId", key: ec256Priv, issuer: &Certificate{ KeyUsage: KeyUsageCRLSign, }, template: &RevocationList{},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
security/pkg/pki/ca/ca_test.go
}, maxTTL: time.Hour, requestedTTL: 30 * time.Minute, verifyFields: util.VerifyFields{ ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth, x509.ExtKeyUsageServerAuth}, KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment, IsCA: false, Host: subjectID, }, expectedError: "", }, "Workload uses EC": { forCA: false,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 08:51:27 UTC 2023 - 29.1K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove.go
if csr.Spec.Username != x509cr.Subject.CommonName { return false } return isNodeClientCert(csr, x509cr) } func usagesToSet(usages []capi.KeyUsage) sets.String { result := sets.NewString() for _, usage := range usages { result.Insert(string(usage)) } return result
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 16:03:42 UTC 2023 - 5.3K bytes - Viewed (0)