Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Ascii (0.21 sec)

  1. src/test/java/jcifs/tests/PACTest.java

        }
    
    
        @Test
        public void testAES256Checksum () throws GeneralSecurityException {
            String data = "fourteen";
            String key = "B1AE4CD8462AFF1677053CC9279AAC30B796FB81CE21474DD3DDBCFEA4EC76D7";
            String expect = "E08739E3279E2903EC8E3836";
            verifyAESHMAC(4, expect, key, data.getBytes(StandardCharsets.US_ASCII));
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

        // flags for move and copy
        static final int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
        static final int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        static final int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        static final int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        static final int FLAGS_TREE_COPY = 0x0020;
    
        // open function
    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)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                        break;
                    case 1:
                        /* Get ASCII hex value and convert to platform dependant
                         * encoding like EBCDIC perhaps
                         */
                        b[0] = (byte)(Integer.parseInt( str.substring( i, i + 2 ), 16 ) & 0xFF);
                        out[j++] = (new String( b, 0, 1, "ASCII" )).charAt( 0 );
                        i++;
                        state = 0;
    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)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                // no password in tree connect
                dst[dstIndex++] = (byte)0x00;
            }
            dstIndex += writeString( path, dst, dstIndex );
            try {
                System.arraycopy( service.getBytes( "ASCII" ), 0, dst, dstIndex, service.length() );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            dstIndex += service.length();
            dst[dstIndex++] = (byte)'\0';
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

    @SuppressWarnings ( "javadoc" )
    public class PacMac {
    
        /**
         * 
         */
        private static final String HMAC_KEY = "HMAC";
        private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII);
        private static final byte[] ZERO_IV = new byte[] {
            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
        };
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmSsp.java

                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                }
                else if ( src[ 8 ] == 3 ) {
                    Type3Message type3 = new Type3Message(src);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            try {
                this.service = new String(buffer, bufferIndex, len, "ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
            /*
             * Problems here with iSeries returning ASCII even though useUnicode = true
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
Back to top