Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for aies (0.05 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

            ASN1Integer original = new ASN1Integer(456);
            ByteArrayInputStream bais = new ByteArrayInputStream(original.getEncoded());
            ASN1InputStream ais = new ASN1InputStream(bais);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, ais);
            assertEquals(original, result);
        }
    
        @Test
        void testAs_ASN1InputStream_Failure() throws IOException {
            // Test failed casting from ASN1InputStream
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                }
    
                this.aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    this.aces[i] = new ACE();
                    bufferIndex += this.aces[i].decode(buffer, bufferIndex, len - bufferIndex);
                }
            } else {
                this.aces = null;
            }
    
            return bufferIndex - start;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                    throw new IOException("Invalid SecurityDescriptor");
                }
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
                    bufferIndex += aces[i].decode(buffer, bufferIndex);
                }
            } else {
                aces = null;
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Determine key size based on cipher ID for AES-256 support
            int keyLength = getKeyLength();
            String transformation;
    
            // Select appropriate AES algorithm based on key length
            if (keyLength == 32) {
                // AES-256 support
                transformation = "AES/GCM/NoPadding";
            } else if (keyLength == 16) {
                // AES-128 (existing)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        /**
         * Processes access control entries (ACEs) for the given SMB1 file and adds them to the response data.
         *
         * @param responseData the response data to update
         * @param file the SMB1 file to process
         */
        protected void processAccessControlEntries(final ResponseData responseData, final SmbFile file) {
            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            prepareSecurityDescriptorBufferWithDACL(testBuffer, 0, 3);
    
            securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            ACE[] aces = securityDescriptor.getAces();
            assertNotNull(aces);
            assertEquals(3, aces.length);
            for (ACE ace : aces) {
                assertNotNull(ace);
            }
        }
    
        @Test
        @DisplayName("Test getOwnerUserSid returns correct SID")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ACE.java

     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ACE.java

     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

                ms_usage = 8;
            case 23:
                ms_usage = 13;
            }
            return ms_usage;
        }
    
        /**
         * Calculates a MAC using HMAC-SHA1 with AES key derivation.
         * This method supports both AES-128 and AES-256 encryption types.
         *
         * @param usage the Kerberos key usage number for this operation
         * @param baseKey the base Kerberos key for key derivation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

            int processedEntries = 0;
            int failedEntries = 0;
    
            try (final ArchiveInputStream ais =
                    archiveStreamFactory.createArchiveInputStream(in.markSupported() ? in : new BufferedInputStream(in))) {
                ZipArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top