Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for validation (0.39 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // 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)
            // make sure that validation is performed in any case
            Smb2SigningDigest dgst = getDigest();
    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)
  2. src/main/java/jcifs/netbios/UniAddress.java

        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

            if( Character.isDigit( hostname.charAt( 0 ))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                  SmbTransport t2 = sess2.getTransport() ) {
    
                Assert.assertEquals(t1, t2);
            }
    
        }
    
    
        // this test is meant to test server-side session invalidation behavior
        // and not part of the regular test suite as manual steps are required
        //@Test
        public void testSessionMaintenance () throws IOException, InterruptedException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if( Character.isDigit( calledName.charAt( 0 ))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = calledName.length();
                data = calledName.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

            try {
                resp = send(req, RequestParam.NO_RETRY);
            }
            catch ( SMBSignatureValidationException e ) {
                throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
            }
            catch ( SmbException e ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("VALIDATE_NEGOTIATE_INFO response code 0x%x", e.getNtStatus()));
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/Pac.java

                if ( log.isDebugEnabled() ) {
                    log.debug(
                        String.format(
                            "PAC signature validation failed, have: %s expected: %s type: %d len: %d",
                            Hexdump.toHexString(checksum),
                            Hexdump.toHexString(this.serverSignature.getChecksum()),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

            this.calledName = this.hostName.name;
    
            if ( Character.isDigit(this.calledName.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = this.calledName.length();
                data = this.calledName.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                                byte[] payload = response.getRawPayload();
                                if ( !response.verifySignature(payload, 0, payload.length) ) {
                                    throw new SmbException("Signature validation failed");
                                }
                            }
                            setDigest(dgst);
                        }
                        else if ( trans.getContext().getConfig().isSigningEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top