Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 251 for cpsr (0.35 sec)

  1. pkg/apis/certificates/fuzzer/fuzzer.go

    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/client-go/util/certificate/csr"
    	"k8s.io/kubernetes/pkg/apis/certificates"
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    // Funcs returns the fuzzer functions for the certificates api group.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 03:38:15 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server_test.go

    			},
    			caller: &security.Caller{Identities: []string{callerID}},
    			ipAddr: mockIPAddr,
    			code:   codes.OK,
    		},
    	}
    
    	for id, c := range testCerts {
    		request := &pb.IstioCertificateRequest{Csr: "dumb CSR"}
    		ctx := context.Background()
    		if c.certChain != nil {
    			tlsInfo := credentials.TLSInfo{
    				State: tls.ConnectionState{VerifiedChains: c.certChain},
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	}
    
    	// generates the CSR request and save it
    	csr, key, err := pkiutil.NewCSRAndKey(cfg)
    	if err != nil {
    		return errors.Wrapf(err, "failure while generating %s CSR and key", name)
    	}
    	if err := pkiutil.WriteKey(outdir, name, key); err != nil {
    		return errors.Wrapf(err, "failure while saving %s key", name)
    	}
    
    	if err := pkiutil.WriteCSR(outdir, name, csr); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            when:
            List<RelativePath> paths = new ArrayList<RelativePath>()
            parentSpec.buildRootResolver().walk(new Action<CopySpecResolver>() {
                void execute(CopySpecResolver csr) {
                    paths.add(csr.destPath)
                }
            })
    
            then:
            paths == [
                new RelativePath(false),
                new RelativePath(false, 'child'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/ca.go

    	}
    	req := &pb.IstioCertificateRequest{
    		Csr:              string(csrPEM),
    		ValidityDuration: int64((time.Hour * 24 * 7).Seconds()),
    	}
    	rctx := metadata.NewOutgoingContext(context.Background(), metadata.Pairs("Authorization", "Bearer "+token, "ClusterID", constants.DefaultClusterName))
    	resp, err := client.CreateCertificate(rctx, req)
    	if err != nil {
    		return Cert{}, fmt.Errorf("send CSR: %v", err)
    	}
    	certChain := []byte{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/certs_test.go

    	}
    
    	csr, _, err := NewCSR(kubeadmCert, cfg)
    
    	if err != nil {
    		t.Errorf("invalid signature on CSR: %v", err)
    	}
    
    	assert.ElementsMatch(t, certConfig.Organization, csr.Subject.Organization, "organizations not equal")
    
    	if csr.Subject.CommonName != certConfig.CommonName {
    		t.Errorf("expected common name %q, got %q", certConfig.CommonName, csr.Subject.CommonName)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    	D19
    	D20
    	D21
    	D22
    	D23
    	D24
    	D25
    	D26
    	D27
    	D28
    	D29
    	D30
    	D31
    
    	APSR
    	APSR_nzcv
    	FPSCR
    
    	SP = R13
    	LR = R14
    	PC = R15
    )
    
    func (Reg) IsArg() {}
    
    func (r Reg) String() string {
    	switch r {
    	case APSR:
    		return "APSR"
    	case APSR_nzcv:
    		return "APSR_nzcv"
    	case FPSCR:
    		return "FPSCR"
    	case SP:
    		return "SP"
    	case PC:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  8. releasenotes/notes/27606.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    issue:
      - 27606
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 21 00:21:40 UTC 2020
    - 243 bytes
    - Viewed (0)
  9. pkg/test/cert/ca/root.go

    		CSRFile:  filepath.Join(workDir, "root-ca.csr"),
    		CertFile: filepath.Join(workDir, "root-cert.pem"),
    	}
    
    	// Write out the conf file.
    	if err := os.WriteFile(root.ConfFile, []byte(rootCAConf), os.ModePerm); err != nil {
    		return Root{}, err
    	}
    
    	// Create the root key.
    	if err := cert.GenerateKey(root.KeyFile); err != nil {
    		return Root{}, err
    	}
    
    	// Create the root CSR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	}
    }
    
    // CSRSign calls Citadel to sign a CSR.
    func (c *CitadelClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) (res []string, err error) {
    	crMetaStruct := &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			security.CertSigner: {
    				Kind: &structpb.Value_StringValue{StringValue: c.opts.CertSigner},
    			},
    		},
    	}
    	req := &pb.IstioCertificateRequest{
    		Csr:              string(csrPEM),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top