Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 110 for Derived (0.05 seconds)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            byte[] derived1 = keyManager.deriveKey(baseKey, "label1", null, 32);
            byte[] derived2 = keyManager.deriveKey(baseKey, "label2", null, 32);
            byte[] derived3 = keyManager.deriveKey(baseKey, "label1", new byte[] { 1, 2, 3 }, 32);
    
            assertEquals(32, derived1.length, "Derived key should have correct length");
            assertEquals(32, derived2.length, "Derived key should have correct length");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.setLength(20);
            assertEquals(20, ndrBuffer.getLength());
    
            // Test with derived buffer
            NdrBuffer derived = ndrBuffer.derive(0);
            derived.setLength(5);
            assertEquals(5, derived.getLength());
            assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length
        }
    
        @Test
        void testAdvance() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            this.start = index = start;
            length = 0;
            deferred = this;
        }
    
        /**
         * Creates a derived NdrBuffer at the specified index position.
         *
         * @param idx the index position for the derived buffer
         * @return the derived NdrBuffer
         */
        public NdrBuffer derive(final int idx) {
            final NdrBuffer nb = new NdrBuffer(buf, start);
            nb.index = idx;
            nb.deferred = deferred;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertFalse(Arrays.equals(signingKey1, signingKey2), "Different session keys should produce different derived keys");
        }
    
        @Test
        @DisplayName("Should derive unique keys for different preauth values")
        void testDeriveKeys_UniquePreauthValues() {
            // Given
            byte[] preauth1 = new byte[64];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
                int counter = 1;
                while (derived.length > hash.length * counter) {
                    md.update(input);
                    md.update((byte) counter);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. docs/security/README.md

    1a) Send encrypted data key and master key ID to KMS.
    1b) Receive decrypted data key.
    2)  Decrypt encrypted object key with the KEK derived from the data key.
    3a) Receive new plain data key from the KMS using the master key ID of the server config.
    3b) Receive encrypted form of the data key from the KMS.
    4)  Derive a new KEK from the new data key and re-encrypt the OEK with it.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
        List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            this.length = 0;
            this.deferred = this;
        }
    
        /**
         * Creates a derived NdrBuffer at the specified index position.
         *
         * @param idx the index position for the derived buffer
         * @return the derived NdrBuffer
         */
        public NdrBuffer derive(final int idx) {
            final NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       * that key.
       *
       * Prior to OkHttp 3.11, this method never returned null if no tag was attached. Instead it
       * returned either this request, or the request upon which this request was derived with
       * [newBuilder].
       *
       * @suppress this method breaks Dokka! https://github.com/Kotlin/dokka/issues/2473
       */
      fun tag(): Any? = tag<Any>()
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  10. LICENSE

          copyright notice that is included in or attached to the work
          (an example is provided in the Appendix below).
    
          "Derivative Works" shall mean any work, whether in Source or Object
          form, that is based on (or derived from) the Work and for which the
          editorial revisions, annotations, elaborations, or other modifications
          represent, as a whole, an original work of authorship. For the purposes
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Click Count (0)
Back to Top