Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 378 for decoding (0.62 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            byte[] buffer = new byte[0];
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0));
        }
    
        /**
         * Test round‑trip encoding/decoding of ranges using the public
         * {@link LockingAndXRange} encode/decode methods.
         */
        @Test
        void lockRangeEncodeDecodeRoundTrip() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

    public class FileNotifyInformationImpl implements FileNotifyInformation, Decodable {
    
        int nextEntryOffset;
        int action;
        int fileNameLength;
        String fileName;
    
        /**
         * Default constructor for decoding.
         */
        public FileNotifyInformationImpl() {
        }
    
        @Override
        public int getAction() {
            return this.action;
        }
    
        @Override
        public String getFileName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        }
    
        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    import java.io.IOException;
    
    /**
     * Exception thrown when an error occurs during NDR encoding or decoding operations.
     */
    public class NdrException extends IOException {
    
        /**
         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    public class KerberosToken {
    
        private KerberosApRequest apRequest;
    
        /**
         * Constructs a KerberosToken from token bytes.
         *
         * @param token the token bytes
         * @throws PACDecodingException if token decoding fails
         */
        public KerberosToken(byte[] token) throws PACDecodingException {
            this(token, null);
        }
    
        /**
         * Constructs a KerberosToken from token bytes with decryption keys.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

     * Provides methods for encoding, decoding, and manipulating sets of AV pairs.
     *
     * @author mbechler
     */
    public final class AvPairs {
    
        private AvPairs() {
        }
    
        /**
         * Decode a list of AvPairs
         *
         * @param data the encoded AV pairs data
         * @return individual pairs
         * @throws CIFSException if decoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
    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/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Header Decoding Tests")
        class HeaderDecodingTests {
    
            @Test
            @DisplayName("decode_header should successfully parse valid header")
            void testDecodeHeaderSuccess() throws NdrException {
                // Mock NdrBuffer methods for successful decoding
                when(mockBuffer.dec_ndr_small()).thenReturn(5)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPair.java

     */
    package jcifs.ntlmssp.av;
    
    /**
     * Base class for NTLMSSP AV (Attribute-Value) pairs used in NTLM authentication.
     * Provides common functionality for encoding and decoding attribute-value pairs.
     *
     * @author mbechler
     */
    public class AvPair {
    
        /**
         * EOL type
         */
        public static final int MsvAvEOL = 0x0;
    
        /**
         * Flags type
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top