Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 74 for new256 (0.21 sec)

  1. pkg/serviceaccount/openidmetadata.go

    		// updated to support the same key sizes. Today we only support RS256.
    		return jose.RS256, nil
    	case *ecdsa.PublicKey:
    		switch pk.Curve {
    		case elliptic.P256():
    			return jose.ES256, nil
    		case elliptic.P384():
    			return jose.ES384, nil
    		case elliptic.P521():
    			return jose.ES512, nil
    		default:
    			return "", fmt.Errorf("unknown private key curve, must be 256, 384, or 521")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  2. 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)
  3. tests/hooks_test.go

    	}
    
    	// Code changed, but not selected, price should not change
    	DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"})
    
    	if product.Name != "Product New2" || product.Price != 170 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, price should changed
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/strconv/eisel_lemire.go

    	{0xA184AC2473B529B1, 0xAE9672ABA3D0C320}, // 1e253
    	{0xC9E5D72D90A2741E, 0xDA3C0F568CC4F3E8}, // 1e254
    	{0x7E2FA67C7A658892, 0x8865899617FB1871}, // 1e255
    	{0xDDBB901B98FEEAB7, 0xAA7EEBFB9DF9DE8D}, // 1e256
    	{0x552A74227F3EA565, 0xD51EA6FA85785631}, // 1e257
    	{0xD53A88958F87275F, 0x8533285C936B35DE}, // 1e258
    	{0x8A892ABAF368F137, 0xA67FF273B8460356}, // 1e259
    	{0x2D2B7569B0432D85, 0xD01FEF10A657842C}, // 1e260
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 41.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top