- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 89 for ciphers (2.04 sec)
-
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy) survey.printGoogleSheet() } fun rest(clients: List<Client>): List<SuiteId> { // combine all ciphers to get these near the top return clients.flatMap { it.enabled }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return selected cipher") void testGetSelectedCipher() throws Exception { // Given setPrivateField(response, "selectedCipher", EncryptionNegotiateContext.CIPHER_AES128_GCM); // When int cipher = response.getSelectedCipher(); // Then assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, cipher); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
docs/features/https.md
with certificates and the privacy of data exchanged with strong ciphers. When negotiating a connection to an HTTPS server, OkHttp needs to know which [TLS versions](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-tls-version/) and [cipher suites](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cipher-suite/) to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return preferred encryption cipher list in order of preference for SMB3 encryption * @since 2.2 */ String getPreferredCiphers(); /** * Property {@code jcifs.smb.client.aes256Enabled} (boolean, default true) * * @return whether AES-256 encryption ciphers are enabled for SMB3.x * @since 2.2 */ boolean isAES256Enabled();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether SMB3 encryption is enabled */ protected boolean encryptionEnabled = false; /** Whether SMB3 compression is enabled */ protected boolean compressionEnabled = false; /** Preferred encryption ciphers in order of preference */ protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM"; /** Whether AES-256 encryption is enabled */ protected boolean aes256Enabled = true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
cipher.setKey("mySecretKey"); final String original = ""; final String encrypted = cipher.encryptText(original); final String decrypted = cipher.decryptText(encrypted); assertThat(decrypted, is(original)); } @Test public void testLongText() { final CachedCipher cipher = new CachedCipher(); cipher.setKey("mySecretKey");
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
assertThat(forJavaName(java.lang.String(cs.javaName) as String)) .isSameAs(cs) } @Test fun equals() { assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher")) assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA")) assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5) .isEqualTo(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5"))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
*/ package org.codelibs.core.exception; import javax.crypto.IllegalBlockSizeException; /** * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length. * @author shinsuke */ public class IllegalBlockSizeRuntimeException extends ClRuntimeException {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
docs/security/tls_configuration_history.md
--- <a name="tlsv13_only"></a> #### ¹ TLSv1.3 Only Cipher suites that are only available with TLSv1.3. <a name="http2_naughty"></a> #### ² HTTP/2 Cipher Suite Denylist Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 9K bytes - Viewed (0)