Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for new256 (0.14 sec)

  1. pkg/serviceaccount/jwt.go

    	}
    
    	return signer, nil
    }
    
    func signerFromECDSAPrivateKey(keyPair *ecdsa.PrivateKey) (jose.Signer, error) {
    	var alg jose.SignatureAlgorithm
    	switch keyPair.Curve {
    	case elliptic.P256():
    		alg = jose.ES256
    	case elliptic.P384():
    		alg = jose.ES384
    	case elliptic.P521():
    		alg = jose.ES512
    	default:
    		return nil, fmt.Errorf("unknown private key curve, must be 256, 384, or 521")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_test.go

    					CipherSuites: []string{"ECDHE-ECDSA-AES128-SHA", "ECDHE-RSA-AES256-GCM-SHA384"},
    				},
    			},
    			result: &auth.DownstreamTlsContext{
    				CommonTlsContext: &auth.CommonTlsContext{
    					TlsParams: &auth.TlsParameters{
    						EcdhCurves:   []string{"P-256", "P-384"},
    						CipherSuites: []string{"ECDHE-ECDSA-AES128-SHA", "ECDHE-RSA-AES256-GCM-SHA384"},
    					},
    					AlpnProtocols: util.ALPNHttp,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa_test.go

    			case "P-521":
    				pub.Curve = elliptic.P521()
    			default:
    				pub.Curve = nil
    			}
    
    			switch hash {
    			case "SHA-1":
    				h = sha1.New()
    			case "SHA-224":
    				h = sha256.New224()
    			case "SHA-256":
    				h = sha256.New()
    			case "SHA-384":
    				h = sha512.New384()
    			case "SHA-512":
    				h = sha512.New()
    			default:
    				h = nil
    			}
    
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/options/authentication_test.go

    kind: AuthenticationConfiguration
    jwt:
    - issuer:
        url: https://test-issuer
        audiences: [ "🐼" ]
      claimMappings:
        username:
          claim: sub
          prefix: ""
    `,
    				OIDCSigningAlgs: []string{"ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "RS256", "RS384", "RS512"},
    			},
    		},
    	}
    
    	for _, testcase := range testCases {
    		t.Run(testcase.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authentication.go

    		fs.StringSliceVar(&o.OIDC.SigningAlgs, oidcSigningAlgsFlag, []string{"RS256"}, ""+
    			"Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a "+
    			"supported 'alg' header values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512. "+
    			"Values are defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1.")
    
    		fs.Var(cliflag.NewMapStringStringNoSplit(&o.OIDC.RequiredClaims), oidcRequiredClaimFlag, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    )
    
    const (
    	// SSECustomerKeySize is the size of valid client provided encryption keys in bytes.
    	// Currently AWS supports only AES256. So the SSE-C key size is fixed to 32 bytes.
    	SSECustomerKeySize = 32
    
    	// SSEIVSize is the size of the IV data
    	SSEIVSize = 32 // 32 bytes
    
    	// SSEDAREPackageBlockSize - SSE dare package block size.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    }
    
    // allowlist of signing algorithms to ensure users don't mistakenly pass something goofy.
    var allowedSigningAlgs = map[string]bool{
    	oidc.RS256: true,
    	oidc.RS384: true,
    	oidc.RS512: true,
    	oidc.ES256: true,
    	oidc.ES384: true,
    	oidc.ES512: true,
    	oidc.PS256: true,
    	oidc.PS384: true,
    	oidc.PS512: true,
    }
    
    type AuthenticatorTokenWithHealthCheck interface {
    	authenticator.Token
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/builtins0.go

    	q := new(*float64)
    	_ = *p == **q
    	new /* ERROR "not used" */ (int)
            _ = &new /* ERROR "cannot take address" */ (int)
    
    	_ = new(int... /* ERROR "invalid use of ..." */ )
    }
    
    func new2() {
    	f1 := func() (x []int) { return }
    	_ = new(f0 /* ERROR "not a type" */ ())
    	_ = new(f1 /* ERROR "not a type" */ ())
    }
    
    func panic1() {
    	panic() // ERROR "not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/asm6.go

    	avxEscape = 1 << 6
    
    	// P field - 2 bits
    	vex66 = 1 << 0
    	vexF3 = 2 << 0
    	vexF2 = 3 << 0
    	// L field - 1 bit
    	vexLZ  = 0 << 2
    	vexLIG = 0 << 2
    	vex128 = 0 << 2
    	vex256 = 1 << 2
    	// W field - 1 bit
    	vexWIG = 0 << 7
    	vexW0  = 0 << 7
    	vexW1  = 1 << 7
    	// M field - 5 bits, but mostly reserved; we can store up to 3
    	vex0F   = 1 << 3
    	vex0F38 = 2 << 3
    	vex0F3A = 3 << 3
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    	},
    	"crypto/sha1": {
    		{"BlockSize", Const, 0},
    		{"New", Func, 0},
    		{"Size", Const, 0},
    		{"Sum", Func, 2},
    	},
    	"crypto/sha256": {
    		{"BlockSize", Const, 0},
    		{"New", Func, 0},
    		{"New224", Func, 0},
    		{"Size", Const, 0},
    		{"Size224", Const, 0},
    		{"Sum224", Func, 2},
    		{"Sum256", Func, 2},
    	},
    	"crypto/sha512": {
    		{"BlockSize", Const, 0},
    		{"New", Func, 0},
    		{"New384", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top