Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for orsa (0.13 sec)

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

    	K   string `json:"k,omitempty"`
    }
    
    var (
    	errMalformedJWKRSAKey = errors.New("malformed JWK RSA key")
    	errMalformedJWKECKey  = errors.New("malformed JWK EC key")
    )
    
    // DecodePublicKey - decodes JSON Web Key (JWK) as public key
    func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) {
    	switch key.Kty {
    	case "RSA":
    		if key.N == "" || key.E == "" {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		// decode exponent
    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)
  2. docs/debugging/inspect/utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/base64"
    	"encoding/pem"
    	"log"
    )
    
    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 02 20:36:38 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwt_test.go

    			}
    		})
    	}
    }
    
    func initJWKSServer() *httptest.Server {
    	server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		const jsonkey = `{"keys":
           [
             {"kty":"RSA",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. istioctl/pkg/internaldebug/internal-debug.go

      # (This is the usual way to get the debug information with an in-cluster control plane.)
      istioctl x internal-debug syncz
    
      # Retrieve syncz debug information directly from the control plane, using RSA certificate security
      # (Certificates must be obtained before this step.  The --cert-dir flag lets istioctl bypass the Kubernetes API server.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. istioctl/pkg/proxystatus/proxystatus.go

      # (This is the usual way to get the proxy-status with an in-cluster control plane.)
      istioctl proxy-status
    
      # Retrieve proxy status information directly from the control plane, using RSA certificate security
      # (Certificates must be obtained before this step.  The --cert-dir flag lets istioctl bypass the Kubernetes API server.)
      istioctl ps --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/debugging/inspect/main.go

    		os.Remove(outputFileName)
    	}
    }
    
    func generateKeys() {
    	privatekey, err := rsa.GenerateKey(crand.Reader, 2048)
    	if err != nil {
    		fmt.Printf("error generating key: %s n", err)
    		os.Exit(1)
    	}
    
    	// dump private key to file
    	privateKeyBytes := x509.MarshalPKCS1PrivateKey(privatekey)
    	privateKeyBlock := &pem.Block{
    		Type:  "RSA PRIVATE KEY",
    		Bytes: privateKeyBytes,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. istioctl/pkg/version/version.go

      # (This is the usual way to get the control plane version with an in-cluster control plane.)
      istioctl x version
    
      # Retrieve version information directly from the control plane, using RSA certificate security
      # (Certificates must be obtained before this step.  The --cert-dir flag lets istioctl bypass the Kubernetes API server.)
      istioctl x version --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. internal/config/identity/openid/rsa-sha3_contrib.go

    Harshavardhana <******@****.***> 1636140008 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  9. internal/fips/api.go

    			tls.TLS_RSA_WITH_AES_128_GCM_SHA256, // TLS 1.2 non-ECDHE
    			tls.TLS_RSA_WITH_AES_256_GCM_SHA384,
    			tls.TLS_RSA_WITH_AES_128_CBC_SHA,
    			tls.TLS_RSA_WITH_AES_256_CBC_SHA,
    		}
    	}
    	return []uint16{
    		tls.TLS_CHACHA20_POLY1305_SHA256, // TLS 1.3
    		tls.TLS_AES_128_GCM_SHA256,
    		tls.TLS_AES_256_GCM_SHA384,
    		tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, // TLS 1.2 ECDHE GCM / POLY1305
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
Back to top