- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getAces (0.07 sec)
-
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
if (aceCount > 0) { assertNotNull(sd.getAces()); assertEquals(aceCount, sd.getAces().length); } else { // When DACL header exists with 0 ACEs, we get an empty array assertNotNull(sd.getAces()); assertEquals(0, sd.getAces().length); } } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
if (info502.security_descriptor != null) { SecurityDescriptor sd; sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size); return sd.getAces(); } return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
return this.type; } /** * Gets the access control entries (ACEs) from this security descriptor. * * @return the array of access control entries */ public final ACE[] getAces() { return this.aces; } /** * Gets the owner group SID of this security descriptor. * * @return the security identifier of the owner group */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
try (SmbTreeHandleImpl th = ensureTreeConnected()) { final SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO); final ACE[] aces = desc.getAces(); if (aces != null) { processAces(aces, resolveSids); } return aces; } } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
* * @param key * 7 or 8 byte DES key * @return DES cipher in encryption mode */ public static Cipher getDES(final byte[] key) { if (key.length == 7) { return getDES(des7to8(key)); } try { final Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
// Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // When Cipher desCipher = Crypto.getDES(key); desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES")); byte[] encrypted = desCipher.doFinal(plaintext); // Then assertNotNull(encrypted);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)