- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for isEncryptionEnabled (0.14 seconds)
-
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.isIpcSigningEnforced(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isEncryptionEnabled() */ @Override public boolean isEncryptionEnabled() { return this.delegate.isEncryptionEnabled(); } @Override public boolean isCompressionEnabled() { return this.delegate.isCompressionEnabled(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Encryption and security configuration should delegate correctly") void testEncryptionSecurityDelegation() { // Given when(mockDelegate.isEncryptionEnabled()).thenReturn(true); when(mockDelegate.isSigningEnabled()).thenReturn(false); when(mockDelegate.isSigningEnforced()).thenReturn(true); when(mockDelegate.isIpcSigningEnforced()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
testSalt[i] = (byte) (i + 0x10); } // Default configuration for SMB 3.1.1 with encryption when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockConfig.isEncryptionEnabled()).thenReturn(true); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB202); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
this.commonCapabilities = r.getCapabilities() & this.capabilities; if ((this.commonCapabilities & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0) { this.supportsEncryption = tc.getConfig().isEncryptionEnabled(); } if (this.selectedDialect.atLeast(DialectVersion.SMB311) && !checkNegotiateContexts(r, this.commonCapabilities)) { return false; }
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/jcifs/Configuration.java
* negotiation, SMB encryption is not implemented yet. * * @return whether SMB encryption is enabled * @since 2.1 */ boolean isEncryptionEnabled(); /** * Property {@code jcifs.smb.client.preferredCiphers} (string, default "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM") *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getMaxMpxCount(); mockConfig.isSigningEnabled(); mockConfig.isIpcSigningEnforced(); mockConfig.isSigningEnforced(); mockConfig.isEncryptionEnabled(); mockConfig.isForceExtendedSecurity(); mockConfig.getLmHostsFileName(); mockConfig.getNetbiosScope(); mockConfig.getNetbiosSndBufSize();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.signingEnforced; } @Override public boolean isIpcSigningEnforced() { return this.ipcSigningEnforced; } @Override public boolean isEncryptionEnabled() { return this.encryptionEnabled; } @Override public boolean isCompressionEnabled() { return this.compressionEnabled; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
this.securityMode = securityMode; if (!config.isDfsDisabled()) { this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_DFS; } if (config.isEncryptionEnabled() && config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB300)) { this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
*/ public boolean isFailed() { return this.transport.isFailed(); } /** * @return whether encryption is enabled for this session */ public boolean isEncryptionEnabled() { return this.encryptionContext != null; } /** * @return the encryption context for this session, or null if encryption is not enabled */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then assertTrue(testConfig.isSigningEnforced()); assertTrue(testConfig.isSigningEnabled()); assertFalse(testConfig.isEncryptionEnabled()); } @Test @DisplayName("Should handle invalid property values gracefully") void testInvalidPropertyValues() throws CIFSException { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0)