Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for getNetbiosName (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SSPContextTest.java

                    throw new CIFSException("invalid offset/length");
                }
                return Arrays.copyOfRange(token, off, off + len);
            }
    
            @Override
            public String getNetbiosName() {
                return this.nbName;
            }
    
            @Override
            public void dispose() throws CIFSException {
                if (this.disposed) {
                    throw new CIFSException("already disposed");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SSPContext.java

        byte[] initSecContext(byte[] token, int off, int len) throws CIFSException;
    
        /**
         * Gets the NetBIOS name of the remote endpoint.
         * @return the name of the remote endpoint
         */
        String getNetbiosName();
    
        /**
         * Disposes of the security context and releases any associated resources.
         * @throws CIFSException if an error occurs during disposal
         */
        void dispose() throws CIFSException;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

        public boolean isMICAvailable() {
            return this.gssContext.getIntegState();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getNetbiosName()
         */
        @Override
        public String getNetbiosName() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSigningKey()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         */
        public byte[] getSigningKey() {
            return signingKey;
        }
    
        /**
         * Gets the NetBIOS name of the remote server.
         * @return the NetBIOS name
         */
        public String getNetbiosName() {
            return netbiosName;
        }
    
        private String getNtlmsspListItem(final byte[] type2token, final int id0) {
            int ri = 58;
    
            for (;;) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

            assertFalse(ctx.isMICAvailable());
            assertTrue(ctx.isMICAvailable());
        }
    
        @Test
        @DisplayName("getNetbiosName returns null")
        void getNetbiosName_null() {
            assertNull(ctx.getNetbiosName());
        }
    
        @Test
        @DisplayName("getSigningKey throws when ExtendedGSSContext not implemented")
        void getSigningKey_notImplementedByGSSContext() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            return this.serverChallenge;
        }
    
        @Override
        public byte[] getSigningKey() {
            return this.masterKey;
        }
    
        @Override
        public String getNetbiosName() {
            return this.netbiosName;
        }
    
        /**
         * Sets the target server's Service Principal Name (SPN).
         * @param targetName
         *            the target's SPN
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertNotNull(context);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
            assertNull(context.getSigningKey());
            assertNull(context.getNetbiosName());
    
            int expectedFlags = NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2 | NtlmFlags.NTLMSSP_NEGOTIATE_128
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    token = response.getBlob();
                }
    
                if (ctx.isEstablished()) {
                    log.debug("Context is established");
                    setNetbiosName(ctx.getNetbiosName());
                    byte[] sk = ctx.getSigningKey();
                    if (sk != null) {
                        // session key is truncated to 16 bytes, right padded with 0 if shorter
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top