Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for ascii (0.13 sec)

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

                    log.println("WARNING: The default OEM encoding " + DEFAULT_OEM_ENCODING +
                    " does not appear to be supported by this JRE. The default encoding will be US-ASCII.");
                }
                DEFAULT_OEM_ENCODING = "US-ASCII";
            }
    
            if (log.level >= 4) {
                try {
                    prp.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmServlet.java

                    if ( ntlm == null )
                        return;
                }
                else {
                    String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
                    String password = ( index != -1 ) ? auth.substring(index + 1) : "";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

        private static final Logger log = LoggerFactory.getLogger(Strings.class);
    
        private static final Charset UNI_ENCODING = Charset.forName("UTF-16LE");
        private static final Charset ASCII_ENCODING = Charset.forName("US-ASCII");
    
        private static final boolean MASK_SECRET_VALUE = System.getProperty("jcifs.maskSecretValue", "true") == "true";
        private static final String SECRET_PATTERN = "^(smb.*:).*(@.*)$";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static String defaultString(final String str, final String defaultStr) {
            return str == null ? defaultStr : str;
        }
    
        /**
         * <p>Checks if the CharSequence contains only ASCII printable characters.</p>
         *
         * <p>{@code null} will return {@code false}.
         * An empty CharSequence (length()=0) will return {@code true}.</p>
         *
         * <pre>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(5); /* RPC version */
            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(ptype);
            buf.enc_ndr_small(flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(call_id);
        }
        void decode_header(NdrBuffer buf) throws NdrException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(this.ptype);
            buf.enc_ndr_small(this.flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(this.length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(this.call_id);
        }
    
    
        void decode_header ( NdrBuffer buf ) throws NdrException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            return derived;
        }
    
    
        /**
         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes ( String string ) {
            byte[] data = new byte[string.length() + 1];
            System.arraycopy(string.getBytes(StandardCharsets.US_ASCII), 0, data, 0, string.length());
            return data;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
Back to top