Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadRSAKey (0.08 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/component-base/metrics/testutil"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/pointer"
    )
    
    // utilities for loading JOSE keys.
    
    func loadRSAKey(t *testing.T, filepath string, alg jose.SignatureAlgorithm) *jose.JSONWebKey {
    	return loadKey(t, filepath, alg, func(b []byte) (interface{}, error) {
    		key, err := x509.ParsePKCS1PrivateKey(b)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top