Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCiphers (0.19 sec)

  1. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(6, bytesRead);
                assertNotNull(context.getCiphers());
                assertEquals(2, context.getCiphers().length);
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, context.getCiphers()[0]);
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, context.getCiphers()[1]);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertArrayEquals(ciphers, context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create context with default constructor")
            void testDefaultConstructor() {
                context = new EncryptionNegotiateContext();
    
                assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, context.getContextType());
                assertNull(context.getCiphers());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Assert
                assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, context.getContextType());
                assertArrayEquals(testCiphers, context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create empty context with default constructor")
            void testDefaultConstructor() {
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                return false;
            }
            return true;
        }
    
        private static boolean checkEncryptionContext(final Smb2NegotiateRequest req, final EncryptionNegotiateContext ec) {
            if (ec.getCiphers() == null || ec.getCiphers().length != 1) {
                log.error("Server returned no cipher selection");
                return false;
            }
    
            EncryptionNegotiateContext rec = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         */
        public EncryptionNegotiateContext() {
        }
    
        /**
         * Gets the supported encryption ciphers.
         *
         * @return array of encryption cipher IDs
         */
        public int[] getCiphers() {
            return this.ciphers;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.nego.NegotiateContextRequest#getContextType()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            }
        }
    
        /**
         * Gets a cached cipher by name.
         * @param cipherName The cipher name.
         * @return The cached cipher.
         */
        public static CachedCipher getCipher(final String cipherName) {
            return getComponent(cipherName);
        }
    
        /**
         * Gets the system properties.
         * @return The dynamic properties.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top