Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for is_ca (0.1 sec)

  1. pkg/kubeapiserver/options/testdata/intermediate.config.json

                    "crl sign",
                    "signing",
                    "key encipherment",
                    "client auth"
                ],
                "expiry": "876000h",
                "ca_constraint": {
                    "is_ca": true
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 13:50:20 UTC 2019
    - 391 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/testdata/intermediate.config.json

                    "crl sign",
                    "signing",
                    "key encipherment",
                    "client auth"
                ],
                "expiry": "876000h",
                "ca_constraint": {
                    "is_ca": true
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 20:06:38 UTC 2017
    - 391 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/testdata/intermediate.config.json

                    "crl sign",
                    "signing",
                    "key encipherment",
                    "client auth"
                ],
                "expiry": "876000h",
                "ca_constraint": {
                    "is_ca": true
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 13:50:20 UTC 2019
    - 391 bytes
    - Viewed (0)
  4. security/pkg/pki/util/generate_cert_test.go

    		t.Errorf("certificate Issuer does not match (old: %s) vs (new: %s)",
    			oldRootCert.Issuer.String(), newRootCert.Issuer.String())
    	}
    	if oldRootCert.IsCA != newRootCert.IsCA {
    		t.Errorf("certificate IsCA does not match (old: %t) vs (new: %t)",
    			oldRootCert.IsCA, newRootCert.IsCA)
    	}
    	if oldRootCert.Version != newRootCert.Version {
    		t.Errorf("certificate Version does not match (old: %d) vs (new: %d)",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  5. security/pkg/pki/util/keycertbundle_test.go

    	}
    	if actual.TTL != expected.TTL {
    		t.Errorf("TTL does not match")
    	}
    	if actual.Org != expected.Org {
    		t.Errorf("Org does not match")
    	}
    	if actual.IsCA != expected.IsCA {
    		t.Errorf("IsCA does not match")
    	}
    	if actual.RSAKeySize != expected.RSAKeySize {
    		t.Errorf("RSAKeySize does not match")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. security/pkg/pki/util/verify_cert.go

    			return fmt.Errorf("unexpected value for 'KeyUsage' field: want %v but got %v", ku, cert.KeyUsage)
    		}
    
    		if isCA := expectedFields.IsCA; isCA != cert.IsCA {
    			return fmt.Errorf("unexpected value for 'IsCA' field: want %t but got %t", isCA, cert.IsCA)
    		}
    
    		if org := expectedFields.Org; org != "" && !reflect.DeepEqual([]string{org}, cert.Issuer.Organization) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 05 10:37:29 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    		t.Errorf("certificate Issuer does not match (old: %s) vs (new: %s)",
    			oldRootCert.Issuer.String(), newRootCert.Issuer.String())
    	}
    	if oldRootCert.IsCA != newRootCert.IsCA {
    		t.Errorf("certificate IsCA does not match (old: %t) vs (new: %t)",
    			oldRootCert.IsCA, newRootCert.IsCA)
    	}
    	if oldRootCert.Version != newRootCert.Version {
    		t.Errorf("certificate Version does not match (old: %d) vs (new: %d)",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  8. security/pkg/pki/util/verify_cert_test.go

    			expectedFields: keyUsage,
    			expectedErr:    "unexpected value for 'KeyUsage' field",
    		},
    		"IsCA error": {
    			privPem:        []byte(key),
    			certChainPem:   []byte(certChain),
    			rootCertPem:    []byte(rootCert),
    			expectedFields: isCA,
    			expectedErr:    "unexpected value for 'IsCA' field",
    		},
    		"Org error": {
    			privPem:        []byte(key),
    			certChainPem:   []byte(certChain),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 16 14:56:37 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  9. security/pkg/pki/util/generate_cert.go

    		ExtKeyUsage:           extKeyUsages,
    		IsCA:                  isCA,
    		BasicConstraintsValid: true,
    		ExtraExtensions:       exts,
    	}, nil
    }
    
    // genCertTemplateFromoptions generates a certificate template with the given options.
    func genCertTemplateFromOptions(options CertOptions) (*x509.Certificate, error) {
    	var keyUsage x509.KeyUsage
    	if options.IsCA {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. security/pkg/pki/ca/ca_test.go

    				RSAKeySize: 2048,
    				IsCA:       false,
    			},
    			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,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top