Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 719 for decoding (0.06 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

        /**
         * Constructs KerberosRelevantAuthData from token bytes.
         *
         * @param token the authorization data token
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if decoding fails
         */
        public KerberosRelevantAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            ASN1Sequence authSequence;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         *
         * @param buf the NDR buffer to decode from
         * @throws NdrException if decoding fails
         */
        protected abstract void decodeWitnessParameters(NdrBuffer buf) throws NdrException;
    
        @Override
        public void encode_in(NdrBuffer buf) throws NdrException {
            encodeWitnessParameters(buf);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    /*
     * Tests for Smb2CreateResponse decoding and behavior.
     */
    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top