Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EdDSA (0.14 sec)

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

    		}
    
    		var x, y big.Int
    		x.SetBytes(xbuf)
    		y.SetBytes(ybuf)
    
    		return &ecdsa.PublicKey{
    			Curve: curve,
    			X:     &x,
    			Y:     &y,
    		}, nil
    	default:
    		if key.Alg == "EdDSA" && key.Crv == "Ed25519" && key.X != "" {
    			pb, err := base64.RawURLEncoding.DecodeString(key.X)
    			if err != nil {
    				return nil, errMalformedJWKECKey
    			}
    			return ed25519.PublicKey(pb), nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top