Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for kid (0.01 sec)

  1. internal/config/identity/openid/jwks_test.go

    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/json"
    	"testing"
    )
    
    func TestAzurePublicKey(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        public void addChild(int index, MetadataTreeNode kid) {
            if (kid == null) {
                return;
            }
    
            if (children == null) {
                children = new MetadataTreeNode[nChildren];
            }
    
            children[index % nChildren] = kid;
        }
    
        // ------------------------------------------------------------------
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwt.go

    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    		kid, ok := jwtToken.Header["kid"].(string)
    		if !ok {
    			return nil, fmt.Errorf("Invalid kid value %v", jwtToken.Header["kid"])
    		}
    		pubkey := r.pubKeys.get(kid)
    		if pubkey == nil {
    			return nil, fmt.Errorf("No public key found for kid %s", kid)
    		}
    		return pubkey, nil
    	}
    
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwt_test.go

              "e":"AQAB",
              "alg":"RS256",
              "kid":"2011-04-29"}
           ]
         }`
    		w.Write([]byte(jsonkey))
    	}))
    	return server
    }
    
    func TestJWTHMACType(t *testing.T) {
    	server := initJWKSServer()
    	defer server.Close()
    
    	jwt := &jwtgo.Token{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwks.go

    	"fmt"
    	"math/big"
    )
    
    // JWKS - https://tools.ietf.org/html/rfc7517
    type JWKS struct {
    	Keys []*JWKS `json:"keys,omitempty"`
    
    	Kty string `json:"kty"`
    	Use string `json:"use,omitempty"`
    	Kid string `json:"kid,omitempty"`
    	Alg string `json:"alg,omitempty"`
    
    	Crv string `json:"crv,omitempty"`
    	X   string `json:"x,omitempty"`
    	Y   string `json:"y,omitempty"`
    	D   string `json:"d,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    hall.
    
      After a time she heard a little pattering of feet in the
    distance, and she hastily dried her eyes to see what was coming.
    It was the White Rabbit returning, splendidly dressed, with a
    pair of white kid gloves in one hand and a large fan in the
    other:  he came trotting along in a great hurry, muttering to
    himself as he came, `Oh! the Duchess, the Duchess! Oh! won't she
    be savage if I've kept her waiting!'  Alice felt so desperate
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
Back to top