- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 168 for CIFSException (0.08 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.BufferCache; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Comprehensive test suite for DcerpcHandle class * Tests binding parsing, handle creation, bind operations, and communication */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
} @Test @DisplayName("Should propagate CIFSException when getting session key") void testGetSessionKey_ThrowsCIFSException() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); CIFSException exception = new CIFSException("Test exception"); when(mockSmbPipeHandleInternal.getSessionKey()).thenThrow(exception);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
* @param preauthHash the pre-authentication integrity hash (SMB 3.1.1 only) * @return encryption context * @throws CIFSException if encryption is not supported or fails */ Smb2EncryptionContext createEncryptionContext(final byte[] sessionKey, final byte[] preauthHash) throws CIFSException { if (!this.smb2 || this.negotiated == null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/CloseableIterator.java
*/ public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable { /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
*/ package jcifs.dcerpc; import jcifs.CIFSException; import jcifs.smb.WinError; import jcifs.util.Hexdump; /** * Exception class for DCE/RPC related errors. * This exception is thrown when DCE/RPC protocol errors occur. */ public class DcerpcException extends CIFSException implements DcerpcError, WinError { /** * */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] buffer = createMockFileBasicInfoBuffer(); response.setDataCount(buffer.length); response.readDataWireFormat(buffer, 0, buffer.length); CIFSException exception = assertThrows(CIFSException.class, () -> { response.getInfo(FileInternalInfo.class); }); assertEquals("Incompatible file information class", exception.getMessage()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
*/ package jcifs.dcerpc; import java.io.IOException; import java.net.MalformedURLException; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SmbPipeResource; import jcifs.smb.SmbNamedPipe; import jcifs.smb.SmbPipeHandleInternal; import jcifs.util.Encdec; /** * DCE/RPC handle implementation for named pipe communications.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
* * @throws CIFSException if there is an error during initialization */ protected void initDefaults() throws CIFSException { try { "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new CIFSException(Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SMBProtocolDowngradeException.java
*/ package jcifs.smb; import jcifs.CIFSException; /** * Exception thrown when an SMB protocol downgrade attack is detected. * Indicates that the negotiated protocol version is lower than expected or required. * * @author mbechler * */ public class SMBProtocolDowngradeException extends CIFSException { /** * Serial version UID for serialization compatibility. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0)