Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for SmbComNegotiateResponse (0.19 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbComSessionSetupAndXTest {
    
        @Mock
        private CIFSContext mockContext;
        @Mock
        private SmbComNegotiateResponse mockNegotiate;
        @Mock
        private ServerMessageBlock mockAndX;
        @Mock
        private Configuration mockConfig;
    
        private static byte[] blobCred() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

            SmbComSessionSetupAndXResponse response = null;
            SSPContext ctx = null;
            byte[] token = {};
            int state = 10;
            final SmbComNegotiateResponse negoResp = (SmbComNegotiateResponse) trans.getNegotiateResponse();
            boolean anonymous = this.credentials.isAnonymous();
            do {
                switch (state) {
                case 10: /* NTLM */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        @Override
        protected void doConnect() throws IOException {
            /*
             * Negotiate Protocol Request / Response
             */
    
            final SmbComNegotiateResponse resp = new SmbComNegotiateResponse(server);
            try {
                negotiate(port, resp);
            } catch (final ConnectException | NoRouteToHostException nr) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

        @Override
        public byte[] getServerEncryptionKey() {
            if (this.negotiated == null) {
                return null;
            }
    
            if (this.negotiated instanceof SmbComNegotiateResponse) {
                return ((SmbComNegotiateResponse) this.negotiated).getServerData().encryptionKey;
            }
            return null;
        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top