Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for getPac (3.52 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            return data;
        }
    
        /**
         * Gets the timestamp value from this AV pair
         *
         * @return the timestamp
         */
        public long getTimestamp() {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

                AvPair decoded = decodedPairs.get(i);
    
                assertEquals(original.getType(), decoded.getType(), "Type should match at index " + i);
                assertTrue(Arrays.equals(original.getRaw(), decoded.getRaw()), "Raw data should match at index " + i);
            }
        }
    
        /**
         * Test decode with AvSingleHost type
         */
        @Test
        @DisplayName("Decode should create AvSingleHost instance")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getDc(domain, auth);
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/Sitemap.java

     */
    public interface Sitemap extends Serializable {
    
        /**
         * Retrieves the location (URL) of the sitemap.
         *
         * @return the location of the sitemap as a String.
         */
        String getLoc();
    
        /**
         * Retrieves the last modification date of the sitemap.
         *
         * @return A string representing the last modification date.
         */
        String getLastmod();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
            when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
    
            byte[] res = ctx.calculateMIC(data);
            assertArrayEquals(mic, res);
            verify(gssContext, times(1)).getMIC(eq(data), eq(0), eq(3), any());
        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

            this(encode(targetName));
        }
    
        /**
         * Gets the target name from this AV pair
         *
         * @return the target name
         */
        public String getTargetName() {
            return new String(getRaw(), UTF16LE);
        }
    
        /**
         * @param targetName
         * @return
         */
        private static byte[] encode(final String targetName) {
            return targetName.getBytes(UTF16LE);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvFlags.java

            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
            final byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertArrayEquals(rawBytes, avTimestamp.getRaw());
        }
    
        /**
         * Test constructor with long timestamp.
         */
        @Test
        public void testConstructorWithLongTimestamp() {
            long timestamp = 9876543210L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPair.java

         * @return the type
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the raw data bytes
         * @return the raw
         */
        public final byte[] getRaw() {
            return this.raw;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param auth the authentication credentials
         * @return an SMB transport to the domain controller
         * @throws SmbAuthException if authentication fails
         */
        public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED) {
                return null;
            }
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top