- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 80 for signing (1.3 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connection when force signing differs") void testNoReuseWithDifferentSigning() throws Exception { // Given: An existing connection without signing enforced SmbTransportImpl initial = pool.getSmbTransport(ctx, address, 445, false, false); // Mock the negotiation responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
transport.digest = request.digest; } connectionState = 2; state = 0; break; case 20: if (nctx == null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (request.getDigest() != null) { /* success - install the signing digest */ setDigest(request.getDigest()); } else if (!anonymous && isSignatureSetupRequired()) { throw new SmbException("Signing required but no session key available"); } setSessionSetup(response);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
* @param initialToken initial authentication token, if any * @param doSigning whether message signing should be enabled * @return a new SSP authentication context * @throws SmbException if context creation fails */ SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false); } @Test @DisplayName("Should get transport by name with forced signing") void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
private Smb3KeyDerivation() { } /** * Derives the SMB3 signing key from the session key using the appropriate KDF for the dialect. * * @param dialect the SMB dialect version * @param sessionKey the base session key * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null * @return derived signing key */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should fail validation when signing enforced but not enabled") void testIsValidSigningEnforcedButNotEnabled() throws Exception { // Given setResponseAsReceived(response); when(mockRequest.isSigningEnforced()).thenReturn(true); setPrivateField(response, "securityMode", 0); // No signing // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
/** * Determines whether this session is currently in use. * * @return whether the session is in use */ boolean isInUse(); /** * Returns the current session key used for signing and encryption. * * @return the current session key * @throws CIFSException if the session key cannot be retrieved */ byte[] getSessionKey() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
assertTrue(encryptionEnabled, "Should delegate encryption setting"); assertFalse(signingPreferred, "Should delegate signing preferred setting"); assertTrue(signingEnforced, "Should delegate signing enforced setting"); assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting"); assertTrue(firstExtendedSecurityCall, "First call should return true");
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/internal/smb2/Smb2SigningDigestTest.java
if (b != 0) { allZero = false; break; } } assertFalse(allZero, "Signature should not be all zeros after signing"); } @Test @DisplayName("Should set SMB2_FLAGS_SIGNED flag") void testSignSetsSignedFlag() { // Set initial flags without signed flag
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)