Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for init (0.13 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b, int off, int len ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

        private CIFSContext transportContext;
        private Address[] dcList = null;
        private long dcListExpiration;
    
        private int netbiosLookupRespLimit = 3;
        private long netbiosCacheTimeout = 60 * 60 * 10;
        private static int dcListCounter;
    
    
        @Override
        public void init ( FilterConfig filterConfig ) throws ServletException {
            String name;
    
            Properties p = new Properties();
            /*
    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)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    
            cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, dataKey);
    
            int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE;
            byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

                throws CIFSException {
            this.file = file;
            this.handle = handle;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
            this.append = false;
            this.smb2 = th.isSMB2();
            init(th);
        }
    
    
        /**
         * @param th
    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)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            int lmResponseOffset = readULong(material, 16);
            byte[] ntResponse = readSecurityBuffer(material, 20);
            int ntResponseOffset = readULong(material, 24);
            byte[] domain = readSecurityBuffer(material, 28);
            int domainOffset = readULong(material, 32);
            byte[] user = readSecurityBuffer(material, 36);
            int userOffset = readULong(material, 40);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

         * @param key
         * @throws GeneralSecurityException
         */
        private static void verifyAESMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
            verifyAESHMAC(usage, expect, key, Hex.decode(data));
        }
    
    
        private static void verifyArcfourHMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
    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)
  7. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        private boolean loadBalance;
        private boolean enableBasic;
        private boolean insecureBasic;
        private String realm;
    
        public void init( FilterConfig filterConfig ) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.<init>(URL.java:480)
         *     at java.net.URL.<init>(URL.java:376)
         *     at java.net.URL.<init>(URL.java:330)
         *     at jcifs.smb1.smb1.SmbFile.<init>(SmbFile.java:355)
         *     ...
         * </pre><blockquote>
         */
    
        public static void registerSmbURLHandler() {
    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)
  9. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            @Override
            public int getOpnum () {
                return 0x15;
            }
    
            public int retval;
            public String dfs_name;
            public int level;
            public int prefmaxlen;
            public DfsEnumStruct info;
            public NdrLong totalentries;
    
    
            public NetrDfsEnumEx ( String dfs_name, int level, int prefmaxlen, DfsEnumStruct info, NdrLong totalentries ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type2Message.java

         *            request message
         *
         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags ( CIFSContext tc, Type1Message type1 ) {
            if ( type1 == null )
                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            int type1Flags = type1.getFlags();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
Back to top