- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 196 for keydata (0.24 sec)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} public void testToString() { byte[] keyData = "secret key".getBytes(UTF_8); assertEquals( "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(MD5_KEY).toString()); assertEquals( "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(keyData).toString()); assertEquals(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
if err != nil { return fmt.Errorf("unable to build bootstrap cert store") } var keyData []byte if cert, err := store.Current(); err == nil { if cert.PrivateKey != nil { keyData, err = keyutil.MarshalPrivateKeyToPEM(cert.PrivateKey) if err != nil { keyData = nil } } } // Cache the private key in a separate file until CSR succeeds. This has to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
} } keyTransformers := []storagevalue.PrefixTransformer{} for _, keyData := range config.Keys { keyData := keyData key, err := base64.StdEncoding.DecodeString(keyData.Secret) if err != nil { return result, fmt.Errorf("could not obtain secret for named key %s: %w", keyData.Name, err) } block, err := aes.NewCipher(key) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 41.2K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/config.go
if err != nil { return nil, fmt.Errorf("failed to load client certificate: %v", err) } r.Cert = string(certData) keyData, err := os.ReadFile(r.KeyFile) if err != nil { return nil, fmt.Errorf("failed to load client certificate key: %v", err) } r.Key = string(keyData) } if r.Cert != "" && r.Key != "" { cert, err := tls.X509KeyPair([]byte(r.Cert), []byte(r.Key)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} public void testToString() { byte[] keyData = "secret key".getBytes(UTF_8); assertEquals( "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(MD5_KEY).toString()); assertEquals( "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(keyData).toString()); assertEquals(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
cmd/kubelet/app/server_bootstrap_test.go
} fi := getFileInfo(testDir) if len(fi) != 0 { t.Fatalf("Unexpected directory contents: %#v", fi) } // an invalid cert should be ignored config2.CertData = []byte("invalid contents") config2.KeyData = []byte("invalid contents") if _, err := buildClientCertificateManager(config1, config2, testDir, nodeName); err == nil { t.Fatal("unexpected non error") } fi = getFileInfo(testDir) if len(fi) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go
return &authenticationInfoResolver{ restConfig: &rest.Config{ TLSClientConfig: rest.TLSClientConfig{ CAData: testcerts.CACert, CertData: testcerts.ClientCert, KeyData: testcerts.ClientKey, }, }, cacheMisses: cacheMisses, } } type authenticationInfoResolver struct { restConfig *rest.Config cacheMisses *int32 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 18 18:49:55 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kube/client_config.go
return &api.AuthInfo{ ClientCertificate: restConfig.CertFile, ClientCertificateData: restConfig.CertData, ClientKey: restConfig.KeyFile, ClientKeyData: restConfig.KeyData, Token: restConfig.BearerToken, TokenFile: restConfig.BearerTokenFile, Impersonate: restConfig.Impersonate.UserName, ImpersonateGroups: restConfig.Impersonate.Groups,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 17 16:52:06 UTC 2020 - 3.1K bytes - Viewed (0) -
pkg/scheduler/apis/config/zz_generated.deepcopy.go
*out = *in if in.CertData != nil { in, out := &in.CertData, &out.CertData *out = make([]byte, len(*in)) copy(*out, *in) } if in.KeyData != nil { in, out := &in.KeyData, &out.KeyData *out = make([]byte, len(*in)) copy(*out, *in) } if in.CAData != nil { in, out := &in.CAData, &out.CAData *out = make([]byte, len(*in)) copy(*out, *in) } return
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 22:02:57 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
// CertData holds PEM-encoded bytes (typically read from a client certificate file). // CertData takes precedence over CertFile CertData []byte // KeyData holds PEM-encoded bytes (typically read from a client certificate key file). // KeyData takes precedence over KeyFile KeyData []byte `datapolicy:"security-key"` // CAData holds PEM-encoded bytes (typically read from a root certificates bundle). // CAData takes precedence over CAFile
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0)