- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for getCiphers (0.08 seconds)
-
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() */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.8K bytes - Click Count (0) -
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]); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
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() { // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
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. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 30.9K bytes - Click Count (0)