Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for signify (0.17 sec)

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

         * Returns the effective user session key.
         * 
         * @param challenge The server challenge.
         * @return A <code>byte[]</code> containing the effective user session key,
         * used in SMB MAC signing and NTLMSSP signing and sealing.
         */
        public byte[] getUserSessionKey(byte[] challenge) {
            if (hashesExternal) return null;
            byte[] key = new byte[16];
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
            }
            else {
                log.debug("No support or SMB signing is enabled, not enabling large writes");
                this.writeSizeFile = this.writeSize;
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug("Negotiated file write size is " + this.writeSizeFile);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug(
                    "Signing " + ( ( this.negotiatedFlags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES ) != 0 ? "enabled " : "not-enabled " )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                if (SmbTransport.log.level >= 3)
                    SmbTransport.log.println(
                        "Default credentials (jcifs.smb1.smb1.client.username/password)" +
                        " not specified. SMB signing may not work propertly." +
                        "  Skipping DC interrogation." );
            } else {
                SmbSession ssn = trans.getSmbSession( NtlmPasswordAuthentication.DEFAULT );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                log.flush();
            }
            updates = 0;
    
            return b;
        }
    
        /**
         * Performs MAC signing of the SMB.  This is done as follows.
         * The signature field of the SMB is overwritted with the sequence number;
         * The MD5 digest of the MAC signing key + the entire SMB is taken;
         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data The data.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates datagram authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
         * Indicates that the LAN Manager session key should be used for
         * signing and sealing authenticated communication.
         */
        public static final int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @return the maximum buffer size reported by the server
         * @throws CIFSException
         */
        int getMaximumBufferSize () throws CIFSException;
    
    
        /**
         * @return whether the session uses SMB signing
         * @throws CIFSException
         * @throws SmbException
         */
        boolean areSignaturesActive () throws CIFSException;
    
    
        /**
         * Internal/testing use only
         * 
         * @return attached session
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        public int getSecurityMode () {
            return this.securityMode;
        }
    
    
        @Override
        public boolean isSigningEnforced () {
            return ( getSecurityMode() & Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED ) != 0;
        }
    
    
        /**
         * @return the capabilities
         */
        public int getCapabilities () {
            return this.capabilities;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                if ( !tf.hasDefaultCredentials() ) {
                    trans.ensureConnected();
                    log.warn(
                        "Default credentials (jcifs.smb.client.username/password)" + " not specified. SMB signing may not work propertly."
                                + "  Skipping DC interrogation.");
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

        @Override
        public boolean isMICAvailable () {
            return !this.auth.isGuest() && this.signKey != null && this.verifyKey != null;
        }
    
    
        @Override
        public byte[] calculateMIC ( byte[] data ) throws CIFSException {
            byte[] sk = this.signKey;
            if ( sk == null ) {
                throw new CIFSException("Signing is not initialized");
            }
    
            int seqNum = this.signSequence.getAndIncrement();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
Back to top