Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getUserSessionKey (0.07 sec)

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

        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#getUserSessionKey(jcifs.CIFSContext, byte[])
         */
        @Override
        public byte[] getUserSessionKey(final CIFSContext tc, final byte[] chlng) {
            if (this.hashesExternal) {
                return null;
            }
            return super.getUserSessionKey(tc, chlng);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
                    System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey), 0, macSigningKey, 16, 24);
                    break;
                case 3:
                case 4:
                case 5:
                    macSigningKey = new byte[16];
                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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