- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for new512 (0.2 sec)
-
pkg/serviceaccount/jwt.go
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") } keyID, err := keyIDFromPublicKey(&keyPair.PublicKey) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
} // Now test with a running encoder/decoder pair that we recognize a type mismatch. err = enc.Encode(et1) if err != nil { t.Error("round 3: encoder fail:", err) } newEt2 := new(ET2) err = dec.Decode(newEt2) if err == nil { t.Fatal("round 3: expected `bad type' error decoding ET2") } } // Run one value through the encoder/decoder, but use the wrong type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
}, }, }, SupportedSigningAlgs: []string{"ES512"}, now: func() time.Time { return now }, }, signingKey: loadECDSAPrivKey(t, "testdata/ecdsa_2.pem", jose.ES512), pubKeys: []*jose.JSONWebKey{ loadECDSAKey(t, "testdata/ecdsa_1.pem", jose.ES512), loadECDSAKey(t, "testdata/ecdsa_2.pem", jose.ES512), }, claims: fmt.Sprintf(`{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ int = min(1.0) _ float32 = min(1, 2) _ int = min(1, 2.3) // ok! _ int = min /* ERROR "cannot use min(1.2, 3) (untyped float constant 1.2) as int value" */ (1.2, 3) _ byte = min(1, 'a') ) } func new1() { _ = new() // ERROR "not enough arguments" _ = new(1, 2) // ERROR "too many arguments" _ = new("foo" /* ERROR "not a type" */) p := new(float64) _ = new(struct{ x, y int }) q := new(*float64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication_test.go
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) { opts := NewBuiltInAuthenticationOptions().WithOIDC()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication.go
"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) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
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 HealthCheck() error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0) -
src/runtime/proc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} } else if wantError { t.Fatal("unexpected success") } }) } } } func shardMatch(name string) bool { if *shards <= 1 { return true } h := fnv.New32() io.WriteString(h, name) return int(h.Sum32()%uint32(*shards)) == *shard } func goFiles(t *testing.T, dir string) []string { f, err := os.Open(filepath.Join(testenv.GOROOT(t), "test", dir)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ISO", Const, 0}, {"MakeTable", Func, 0}, {"New", Func, 0}, {"Size", Const, 0}, {"Table", Type, 0}, {"Update", Func, 0}, }, "hash/fnv": { {"New128", Func, 9}, {"New128a", Func, 9}, {"New32", Func, 0}, {"New32a", Func, 0}, {"New64", Func, 0}, {"New64a", Func, 0}, }, "hash/maphash": { {"(*Hash).BlockSize", Method, 14}, {"(*Hash).Reset", Method, 14},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)