Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for keydata (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/x509/parser.go

    		return ext, errors.New("x509: malformed extension value field")
    	}
    	ext.Value = val
    	return ext, nil
    }
    
    func parsePublicKey(keyData *publicKeyInfo) (any, error) {
    	oid := keyData.Algorithm.Algorithm
    	params := keyData.Algorithm.Parameters
    	der := cryptobyte.String(keyData.PublicKey.RightAlign())
    	switch {
    	case oid.Equal(oidPublicKeyRSA):
    		// RSA public keys must have a NULL in the parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelReportIntegrationTest.groovy

            """.stripIndent()
        }
    
        def registerUnmanagedComponent() {
            return """
                interface UnmanagedComponent extends GeneralComponentSpec {
                    String getData()
                    void setData(String data)
                }
                class DefaultUnmanagedComponent extends BaseComponentSpec implements UnmanagedComponent {
                    String data
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData(value.getBytes(Constants.UTF_8));
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xmlTransformer");
    
            final Object obj = xmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top