Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSecurityBlob (0.06 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

                return this.credentials.createContext(getContext(), tdomain, host, negoResp.getSecurityBlob(), doSigning);
            }
    
            try {
                final String hostName = host;
                return Subject.doAs(s, (PrivilegedExceptionAction<SSPContext>) () -> getCredentials().createContext(getContext(), tdomain,
                        hostName, negoResp.getSecurityBlob(), doSigning));
            } catch (PrivilegedActionException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
         * Gets the maximum transaction size supported by the server.
         *
         * @return the maxTransactSize
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Given
            byte[] blob = "SecurityBlob".getBytes();
            setPrivateField(response, "securityBuffer", blob);
    
            // When
            byte[] result = response.getSecurityBlob();
    
            // Then
            assertArrayEquals(blob, result);
        }
    
        @Test
        @DisplayName("Should return max transact size")
        void testGetMaxTransactSize() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top