Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUserSessionKey (0.86 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                case 4:
                case 5:
                    this.macSigningKey = new byte[16];
                    auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0);
                    break;
                default:
                    this.macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *         used in SMB MAC signing and NTLMSSP signing and sealing.
         */
        public byte[] getUserSessionKey(CIFSContext tc, byte[] chlng) {
            byte[] key = new byte[16];
            try {
                getUserSessionKey(tc, chlng, key, 0);
            } catch (Exception ex) {
                log.error("Failed to get session key", ex);
            }
            return key;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * used in SMB MAC signing and NTLMSSP signing and sealing.
         */
        public byte[] getUserSessionKey(final byte[] challenge) {
            if (hashesExternal) {
                return null;
            }
            final byte[] key = new byte[16];
            try {
                getUserSessionKey(challenge, key, 0);
            } catch (final Exception ex) {
                if (LogStream.level > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

                    int offset = invocation.getArgument(3);
                    System.arraycopy(new byte[16], 0, dest, offset, 16);
                    return null;
                }).when(mockAuth).getUserSessionKey(eq(mockContext), eq(serverEncryptionKey), any(byte[].class), eq(0));
            } else {
                // For LM compatibility 0-2, 40 bytes are used
                doAnswer(invocation -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top