Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for key8 (0.02 sec)

  1. src/main/java/jcifs/util/Crypto.java

            key8[4] = (byte) (key[3] << 4 | (key[4] & 0xFF) >>> 4);
            key8[5] = (byte) (key[4] << 3 | (key[5] & 0xFF) >>> 5);
            key8[6] = (byte) (key[5] << 2 | (key[6] & 0xFF) >>> 6);
            key8[7] = (byte) (key[6] << 1);
            for (int i = 0; i < key8.length; i++) {
                key8[i] ^= Integer.bitCount(key8[i] ^ 1) & 1;
            }
            return key8;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
            Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2);
            Smb2LeaseKey key3 = new Smb2LeaseKey(testBytes3);
    
            assertEquals(key1, key2);
            assertNotEquals(key1, key3);
            assertNotEquals(key1, null);
            assertNotEquals(key1, "not a lease key");
            assertEquals(key1, key1); // reflexive
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                KerberosKey[] keys = credentials.getKeys();
                assertEquals(0, keys.length);
            }
        }
    
        /**
         * Test getKey method when the requested key type exists.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testGetKey_KeyExists() throws LoginException {
            when(key1.getKeyType()).thenReturn(KEY_TYPE_1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacMac.java

         *
         * @param key the base Kerberos key
         * @param constant the key derivation constant
         * @return the derived key bytes
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] deriveKeyAES(KerberosKey key, byte[] constant) throws GeneralSecurityException {
            byte[] keybytes = key.getEncoded();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocMap.java

         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        /**
         * Returns true if this map maps one or more keys to the specified value.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    for (KerberosKey key : keys) {
                        keysByAlgo.put(key.getKeyType(), key);
                    }
    
                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if (keysByAlgo.isEmpty() || serverKey == null) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacMacTest.java

            keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey);
            keys.put(PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96, aes128Key);
            keys.put(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, aes256Key);
    
            // Test HMAC-MD5
            byte[] mac1 = PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA);
            assertNotNull(mac1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/conditionBeanMap.dfprop

            # String columns may not be needed
            # to be set these condition-keys basically.
            #; GreaterThan = map:{}
            #; LessThan = map:{}
            #; GreaterEqual = map:{}
            #; LessEqual = map:{}
    
            # [Exclude]
            # Common columns of String type may not be needed
            # to be set these condition-keys basically.
            #; !NotEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

        }
    
        /**
         * Retrieves an extractor for the specified key.
         * If multiple extractors are associated with the key, returns a composite extractor
         * that tries each extractor in order until one succeeds.
         *
         * @param key the key to look up
         * @return the extractor for the key, or null if not found
         */
        public Extractor getExtractor(final String key) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/util/BeanMap.java

         */
        public BeanMap() {
        }
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
                throw new IllegalKeyOfBeanMapException(key, this);
            }
            return super.get(key);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top