Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for SEQUENCE (0.72 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

                }
                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                final Enumeration<ASN1Object> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch (tagged.getTagNo()) {
                    case 0:
                        sequence = ASN1Sequence.getInstance(tagged, true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
            // Act + Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            int index = offset;
            update(data, index, SmbConstants.SIGNATURE_OFFSET);
            index += SmbConstants.SIGNATURE_OFFSET;
            final byte[] sequence = new byte[8];
            SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0);
            update(sequence, 0, sequence.length);
            index += 8;
            if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the UUID
                uuid.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0x12345678);
                verify(mockNdrBuffer).enc_ndr_short((short) 0x9ABC);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
        void testConstructorWithBypassAndInitialSequence() {
            int initialSequence = 100;
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true, initialSequence);
            assertNotNull(digest);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            final byte[] seqBytes = new byte[4];
            SMBUtil.writeInt4(seqNum, seqBytes, 0);
    
            final MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
            final byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            }
    
            ASN1Sequence sequence;
            try {
                sequence = ASN1Util.as(ASN1Sequence.class, derToken.getBaseObject());
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            Enumeration<?> fields = sequence.getObjects();
            while (fields.hasMoreElements()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            }
    
            /**
             * Compiles a robots.txt path pattern into a regular expression pattern.
             * According to RFC 9309:
             * - '*' matches any sequence of characters (including the empty sequence)
             * - '$' matches the end of the URL path
             * - All other characters are matched literally
             *
             * @param pattern the robots.txt path pattern
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                // Verify structure
                assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count
    
                // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index)
                int lockSequence = SMBUtil.readInt4(buffer, 4);
                assertEquals(0, lockSequence); // Default values
    
                // Verify file ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.java

             */
            public short time_hi_and_version;
            /**
             * The high field of the clock sequence multiplexed with the variant.
             */
            public byte clock_seq_hi_and_reserved;
            /**
             * The low field of the clock sequence.
             */
            public byte clock_seq_low;
            /**
             * The spatially unique node identifier (6 bytes).
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top