Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for signatures (0.23 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_SIGNATURES;
                if ( req.isSigningEnforced() || isSigningRequired() ) {
                    this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
                }
            }
            else {
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_SIGNATURES;
    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)
  2. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS2_NONE = 0x0000;
        static final int FLAGS2_LONG_FILENAMES = 0x0001;
        static final int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        static final int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        static final int FLAGS2_SECURITY_REQUIRE_SIGNATURES = 0x0010;
        static final int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        static final int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether signatures are supported but not required
         * @throws SmbException
         */
        boolean isSigningOptional () throws SmbException;
    
    
        /**
         * @return whether signatures are enforced from either side
         * @throws SmbException
         */
        boolean isSigningEnforced () throws SmbException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int FLAGS2_LONG_FILENAMES                = 0x0001;
        static final int FLAGS2_EXTENDED_ATTRIBUTES           = 0x0002;
        static final int FLAGS2_SECURITY_SIGNATURES           = 0x0004;
        static final int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        static final int FLAGS2_RESOLVE_PATHS_IN_DFS          = 0x1000;
        static final int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM   = 0x2000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

            if ( !this.useNTSmbs ) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
            // CAP_LARGE_WRITE
            if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
                this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
    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)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

        
                            break;
                        case 20:
                            if (nctx == null) {
                                boolean doSigning = (transport.flags2 & ServerMessageBlock.FLAGS2_SECURITY_SIGNATURES) != 0;
                                nctx = new NtlmContext(auth, doSigning);
                            }
        
                            if (SmbTransport.log.level >= 4)
    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)
  8. src/main/java/jcifs/config/BaseConfiguration.java

                        | ( this.useExtendedSecurity ? SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION : 0 )
                        | ( this.signingPreferred ? SmbConstants.FLAGS2_SECURITY_SIGNATURES : 0 )
                        | ( this.useNtStatus ? SmbConstants.FLAGS2_STATUS32 : 0 )
                        | ( this.useUnicode || this.forceUnicode ? SmbConstants.FLAGS2_UNICODE : 0 );
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            if (server.signaturesRequired || (server.signaturesEnabled && SIGNPREF)) {
                flags2 |= ServerMessageBlock.FLAGS2_SECURITY_SIGNATURES;
            } else {
                flags2 &= 0xFFFF ^ ServerMessageBlock.FLAGS2_SECURITY_SIGNATURES;
            }
            maxMpxCount = Math.min( maxMpxCount, server.maxMpxCount );
            if (maxMpxCount < 1) maxMpxCount = 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8);
                update(raxr.getData(), raxr.getOffset(), raxr.getDataLength());
            }
            else {
                update(data, index, msg.getLength() - SmbConstants.SIGNATURE_OFFSET - 8);
            }
            byte[] signature = digest();
            for ( int i = 0; i < 8; i++ ) {
                if ( signature[ i ] != data[ offset + SmbConstants.SIGNATURE_OFFSET + i ] ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
Back to top