- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 142 for Signing (0.05 seconds)
-
src/test/java/jcifs/config/SecurityConfigurationTest.java
} /** * Test that signing is properly configured */ @Test public void testSigningConfiguration() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify IPC signing is enforced (this is a security requirement) assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
/** * Checks if message signing is supported but not mandatory. * * @return whether signatures are supported but not required * @throws SmbException if an error occurs checking signing status */ boolean isSigningOptional() throws SmbException; /** * Checks if message signing is mandatory for this connection. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertFalse(result); verify(negotiationResponse).canReuse(null, false); } @Test @DisplayName("Test signing state combinations") void testSigningStateCombinations() { // Test all combinations of signing states // Signing disabled when(negotiationResponse.isSigningEnabled()).thenReturn(false); when(negotiationResponse.isSigningRequired()).thenReturn(false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
class NegotiationConstants { @Test @DisplayName("Signing enabled flag should be 0x0001") void testSigningEnabledFlag() { assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001"); } @Test @DisplayName("Signing required flag should be 0x0002") void testSigningRequiredFlag() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
* @return the server challenge bytes */ public byte[] getServerChallenge() { return serverChallenge; } /** * Gets the signing key for message authentication. * @return the signing key bytes */ public byte[] getSigningKey() { return signingKey; } /** * Gets the NetBIOS name of the remote server.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
private static final String S2C_SIGN_CONSTANT = "session key to server-to-client signing key magic constant"; private static final String S2C_SEAL_CONSTANT = "session key to server-to-client sealing key magic constant"; private static final String C2S_SIGN_CONSTANT = "session key to client-to-server signing key magic constant";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/jcifs/smb/SSPContext.java
* operations during SMB authentication. * * @author mbechler */ public interface SSPContext { /** * Gets the signing key for the session. * @return the signing key for the session * @throws CIFSException if an error occurs retrieving the signing key */ byte[] getSigningKey() throws CIFSException; /** * Checks whether the security context is established.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* * @author mbechler */ public interface SmbResourceLocatorInternal extends SmbResourceLocator { /** * Determines whether SMB signing should be enforced for connections to this resource. * * @return whether to enforce the use of signing on connection to this resource */ boolean shouldForceSigning(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true); assertNotNull(digest); assertTrue(digest.toString().contains("MacSigningKey=")); } @Test @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
* @throws CIFSException if an error occurs retrieving the buffer size */ int getMaximumBufferSize() throws CIFSException; /** * Checks if SMB message signing is active for this session * @return whether the session uses SMB signing * @throws CIFSException if a general CIFS error occurs * @throws SmbException if an SMB-specific error occurs */ boolean areSignaturesActive() throws CIFSException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0)