Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for new384 (0.15 sec)

  1. pkg/ledger/ledger.go

    func (s smtLedger) RootHash() string {
    	return base64.StdEncoding.EncodeToString(s.tree.Root())
    }
    
    func coerceKeyToHashLen(val string) []byte {
    	hasher := murmur3.New64()
    	_, _ = hasher.Write([]byte(val))
    	return hasher.Sum(nil)
    }
    
    func coerceToHashLen(val string) []byte {
    	// hash length is fixed at 64 bits until generic support is added
    	const hashLen = 64
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. pkg/registry/rbac/validation/rule_test.go

    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    // compute a hash of a policy rule so we can sort in a deterministic order
    func hashOf(p rbacv1.PolicyRule) string {
    	hash := fnv.New32()
    	writeStrings := func(slis ...[]string) {
    		for _, sli := range slis {
    			for _, s := range sli {
    				io.WriteString(hash, s)
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwt.go

    func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims map[string]interface{}) error {
    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    		"ES256", "ES384", "ES512",
    		"HS256", "HS384", "HS512",
    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata.go

    		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")
    		}
    	case jose.OpaqueSigner:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
Back to top