Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for keydata (0.32 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. 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)
  4. 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)
  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. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    // and it can verify a purported signature by that key.
    //
    // The standard implementation of a Verifier is constructed
    // by [NewVerifier] starting from a verifier key, which is a
    // plain text string of the form "<name>+<hash>+<keydata>".
    //
    // A [Verifiers] allows looking up a Verifier by the combination
    // of server name and key hash.
    //
    // The standard implementation of a Verifiers is constructed
    // by VerifierList from a list of known verifiers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    		keytype := decodetypeMapKey(d.ldr, d.arch, gotype)
    		valtype := decodetypeMapValue(d.ldr, d.arch, gotype)
    		keydata := d.ldr.Data(keytype)
    		valdata := d.ldr.Data(valtype)
    		keysize, valsize := decodetypeSize(d.arch, keydata), decodetypeSize(d.arch, valdata)
    		keytype, valtype = d.walksymtypedef(d.defgotype(keytype)), d.walksymtypedef(d.defgotype(valtype))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top