Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getSessionKey (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  3. 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();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top