- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for encryption (0.06 sec)
-
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
/** * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2 * * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2) */ public int getFlags() { return this.flags; } /** * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2 * * @param flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
package jcifs.internal.smb2.nego; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Encryption Negotiate Context. * * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
README.md
- Configurable: Min/max versions can be set via configuration properties ### SMB3 Encryption Support - **SMB2 Transform Header**: Encrypted message wrapping - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites - **Encryption Context**: Per-session encryption state management - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
return new HMACT64(key); } /** * Get an RC4 cipher instance initialized with the specified key. * @param key the encryption key * @return RC4 cipher in encryption mode */ public static Cipher getArcfour(final byte[] key) { try { final Cipher c = Cipher.getInstance("RC4");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.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/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
/** * Test decrypt with an unsupported encryption type. */ @Test void testDecryptUnsupportedType() { Key key = new KerberosKey(null, new byte[16], 99, 0); byte[] data = new byte[16]; Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99)); assertEquals("Unsupported encryption type 99", exception.getMessage()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.util; /** * Implementation of the RC4 (ARCFOUR) stream cipher algorithm. * This class provides RC4 encryption/decryption functionality used in SMB1 protocol operations. */ public class RC4 { byte[] s; int i, j; /** * Default constructor for RC4 cipher.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K 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/pac/PacMac.java
/** * Utility class for calculating and verifying PAC (Privilege Attribute Certificate) message authentication codes. * This class provides methods for computing MACs using various Kerberos encryption types including * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms. */ public class PacMac { /** * Private constructor to prevent instantiation of utility class. */ private PacMac() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0)