- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getSessionKey (0.24 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
assertNull(session.getSessionKey()); verify(session, times(3)).getSessionKey(); } // Error propagation: getSessionKey throws CIFSException @Test @DisplayName("getSessionKey throws CIFSException on failure") void getSessionKey_throws() throws CIFSException { doThrow(new CIFSException("session key failure")).when(session).getSessionKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} @Override public String getServerWithDfs() { return this.pipe.getLocator().getServerWithDfs(); } @Override public byte[] getSessionKey() throws CIFSException { return this.handle.getSessionKey(); } /** * {@inheritDoc} * * @see jcifs.dcerpc.DcerpcHandle#doSendReceiveFragment(byte[], int, int, byte[]) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
/** * Gets the session key after successful authentication * * @return the session key or null if not available */ byte[] getSessionKey(); /** * Gets the signing key for SMB2/3 * * @return the signing key or null if not available */ byte[] getSigningKey(); /** * Validates authentication credentials
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
/** * 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; /** * Returns the SMB transport associated with this session. * * @return the transport for this session */ SmbTransport getTransport(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* Gets the session key from the underlying SMB session. * * @return session key of the underlying smb session * @throws CIFSException if an error occurs retrieving the session key */ byte[] getSessionKey() throws CIFSException; /** * Gets the input stream for reading from this pipe. * * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
multiConfig = new PropertyConfiguration(props); // Mock context and session for ChannelManager when(mockContext.getConfig()).thenReturn(multiConfig); when(mockSession.getSessionKey()).thenReturn(new byte[16]); channelManager = new ChannelManager(mockContext, mockSession); } @Test void testMultiChannelInitialization() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0)