- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 114 for encrypto (3.58 sec)
-
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
import jcifs.smb1.Config; import jcifs.smb1.util.DES; import jcifs.smb1.util.Encdec; import jcifs.smb1.util.HMACT64; import jcifs.smb1.util.LogStream; import jcifs.smb1.util.MD4; /** * This class stores and encrypts NTLM user credentials. The default * credentials are retrieved from the {@code jcifs.smb1.smb1.client.domain}, * {@code jcifs.smb1.smb1.client.username}, and {@code jcifs.smb1.smb1.client.password} * properties. * <p>Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
import java.util.concurrent.locks.ReentrantLock; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.internal.CommonServerMessageBlock; import jcifs.internal.SMBSigningDigest; import jcifs.internal.util.SMBUtil; import jcifs.util.Crypto; /** * SMB2/SMB3 message signing digest implementation. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(encKey, "Encryption key should not be null"); assertEquals(16, encKey.length, "Encryption key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key"); } @Test @DisplayName("Should derive different encryption keys for different dialects")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
@CsvSource({ "true, true, SMB311, 2", // DFS + Encryption "false, true, SMB311, 1", // Encryption only "true, false, SMB311, 1", // DFS only "false, false, SMB311, 0", // Neither "true, true, SMB210, 1", // DFS only (no encryption for SMB2) "false, true, SMB210, 0" // Neither (no encryption for SMB2) })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
} /** * Test that encryption is properly configured */ @Test public void testEncryptionConfiguration() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify encryption configuration is available (default is false for compatibility) // But can be enabled when neededRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
void setUp() throws NoSuchAlgorithmException { // Mock Crypto.getMD5() to return our mockMd5 instance // This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it. // If it's not static, we'd need to inject it or mock the class that provides it. try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
/** * Kerberos encryption type for ARCFOUR-HMAC (RC4-HMAC). */ public static final int ETYPE_ARCFOUR_HMAC = 23; /** * Kerberos encryption type for AES-128 CTS mode with HMAC-SHA1-96. */ public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 = 17; /** * Kerberos encryption type for AES-256 CTS mode with HMAC-SHA1-96. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
import java.util.concurrent.ConcurrentHashMap; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import javax.security.auth.DestroyFailedException; import javax.security.auth.Destroyable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Secure key management for SMB encryption. * Provides centralized management of encryption keys with secure storage and cleanup. * * Features:
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
EncryptionNegotiateContext encryption = new EncryptionNegotiateContext(); assertNotEquals(preauth.getContextType(), encryption.getContextType()); assertEquals(0x1, preauth.getContextType()); assertEquals(0x2, encryption.getContextType()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)