- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,241 for Contexto (0.07 seconds)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } try { byte[] newHash = calculateHash(context.getCurrentHash(), messageData, context.getHashAlgorithm()); context.updateHash(newHash); log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
if (dataLen < 0 || dataLen > 1024) { // 1KB max per context throw new SMBProtocolDecodingException( "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)"); } ncpos += 4; ncpos += 4; // Reserved
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Context with share and at root SmbResourceLocatorImpl base2 = locator("smb://server/share/"); SmbResourceLocator context2 = mock(SmbResourceLocator.class); when(context2.getShare()).thenReturn("share"); when(context2.getDfsReferral()).thenReturn(null); when(context2.getUNCPath()).thenReturn("\\"); when(context2.getURLPath()).thenReturn("/share/");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
import jcifs.Decodable; /** * SMB2 Negotiate Context response data structure. * * This class represents negotiate contexts returned by the server * in response to negotiate context requests. * * @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Implement lease key generation and management - [ ] Add lease context to Create request/response - [ ] Implement lease break notification handling - [ ] Modify SmbFile to support lease-based caching - [ ] Add lease upgrade/downgrade logic - [ ] Implement lease epoch tracking for v2 leases #### 1.3 Integration Points - Modify `Smb2CreateRequest` to include lease contexts - Update `SmbFile` caching logic to use leases
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
this.createContexts = contexts.toArray(new CreateContextResponse[0]); } if (log.isDebugEnabled()) { log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId)); } return bufferIndex - start; } /** * Factory method to create appropriate context response based on context name * @param nameBytes context name bytes
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java
import jcifs.Encodable; /** * SMB2 Negotiate Context request data structure. * * This class represents negotiate contexts used in SMB 3.1.1 * for capability negotiation and security enhancements. * * @author mbechler */ public interface NegotiateContextRequest extends Encodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
src/cmd/api/main_test.go
t.Fatal(err) } nextFiles = next } for _, c := range contexts { c.Compiler = build.Default.Compiler } walkers := make([]*Walker, len(contexts)) var wg sync.WaitGroup for i, context := range contexts { i, context := i, context wg.Add(1) go func() { defer wg.Done() walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src")) }() } wg.Wait()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 4; assert i == body.length; return body; } /** * Build a CREATE response body with a single, unrecognized create context. * The parser should iterate it but produce an empty contexts array. */ private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) { // Base body part size (up to and including CreateContextsLength)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange NegotiateContextResponse[] contexts = new NegotiateContextResponse[] { new PreauthIntegrityNegotiateContext(), new EncryptionNegotiateContext() }; // Act & Assert for (NegotiateContextResponse context : contexts) { assertNotNull(context); assertTrue(context.getContextType() > 0); } } }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0)