Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getServerEncryptionKey (0.54 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
        }
    
        @Override
        public byte[] getServerEncryptionKey() {
            return delegate.getServerEncryptionKey();
        }
    
        @Override
        public SmbSession getSmbSession(CIFSContext ctx) {
            return delegate.getSmbSession(ctx);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportInternal.java

        boolean isSigningEnforced() throws SmbException;
    
        /**
         * Gets the server's encryption key for authentication.
         *
         * @return the encryption key used by the server
         */
        byte[] getServerEncryptionKey();
    
        /**
         * Gets or creates an SMB session for the given context.
         *
         * @param ctx the CIFS context
         * @return session
         */
        SmbSession getSmbSession(CIFSContext ctx);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            when(mockTransport.getContext()).thenReturn(mockContext);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getLanManCompatibility()).thenReturn(3);
            when(mockTransport.getServerEncryptionKey()).thenThrow(new RuntimeException("Test exception"));
    
            assertThrows(SmbException.class, () -> new SMB1SigningDigest(mockTransport, mockAuth));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.digest = Crypto.getMD5();
            try {
                final byte[] serverEncryptionKey = transport.getServerEncryptionKey();
                switch (transport.getContext().getConfig().getLanManCompatibility()) {
                case 0:
                case 1:
                case 2:
                    this.macSigningKey = new byte[40];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                        ssn.treeConnectLogon();
                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            } catch (final SmbException e) {
                throw e;
            } catch (final IOException e) {
                throw new SmbException("Connection failed", e);
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    .unwrap(SmbTransportInternal.class)) {
                trans.ensureConnected();
                return trans.getServerEncryptionKey();
            } catch (final SmbException e) {
                throw e;
            } catch (final IOException e) {
                throw new SmbException("Connection failed", e);
            }
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

        public SmbTransportImpl acquire() {
            return (SmbTransportImpl) super.acquire();
        }
    
        /**
         * @return the server's encryption key
         */
        @Override
        public byte[] getServerEncryptionKey() {
            if (this.negotiated == null) {
                return null;
            }
    
            if (this.negotiated instanceof SmbComNegotiateResponse) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top