- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for keyData (0.21 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) -
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) -
pkg/scheduler/extender.go
cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile cfg.TLSClientConfig.CertData = config.TLSConfig.CertData cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData cfg.TLSClientConfig.CAData = config.TLSConfig.CAData } if config.EnableHTTPS { hasCA := len(cfg.CAFile) > 0 || len(cfg.CAData) > 0 if !hasCA { cfg.Insecure = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/zz_generated.conversion.go
out.ServerName = in.ServerName out.CertFile = in.CertFile out.KeyFile = in.KeyFile out.CAFile = in.CAFile out.CertData = *(*[]byte)(unsafe.Pointer(&in.CertData)) out.KeyData = *(*[]byte)(unsafe.Pointer(&in.KeyData)) out.CAData = *(*[]byte)(unsafe.Pointer(&in.CAData)) return nil } // Convert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 46.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
config.CertFile = configAuthInfo.ClientCertificate config.CertData = configAuthInfo.ClientCertificateData config.KeyFile = configAuthInfo.ClientKey config.KeyData = configAuthInfo.ClientKeyData } if len(configAuthInfo.Username) > 0 || len(configAuthInfo.Password) > 0 { config.Username = configAuthInfo.Username config.Password = configAuthInfo.Password }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 9.5K bytes - Viewed (0)