Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 770 for decoding (0.04 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * @param buf the buffer to encode into
         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
         * Decode the output parameters from this DCERPC message.
         * @param buf the buffer to decode from
         * @throws NdrException if decoding fails
         */
        public abstract void decode_out(NdrBuffer buf) throws NdrException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            verify(mockNdrBuffer, times(1)).dec_ndr_small();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Base64.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.util;
    
    /**
     * Utility class for Base64 encoding and decoding operations.
     * Provides methods to convert between binary data and Base64 encoded strings.
     */
    public class Base64 {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                bufferIndex += server.encryptionKeyLength;
                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a valid byte array.
         *
         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
            // A byte array with a length less than 32 should be correct.
            byte[] validData = new byte[31];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

     */
    
    package jcifs.dcerpc.ndr;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
    
        private int referent;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

         *
         * @param token the ticket token bytes
         * @param apOptions AP options flags
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if ticket decoding fails
         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ticket");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if an error occurs during decoding
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         * @param buf the buffer to encode into
         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
         * Decode the output parameters from this DCERPC message.
         * @param buf the buffer to decode from
         * @throws NdrException if decoding fails
         */
        public abstract void decode_out(NdrBuffer buf) throws NdrException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top