- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for aies (1.13 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should support AES-256 cipher constants") void testAES256CipherConstants() { // Verify AES-256 constants are defined assertEquals(0x0003, Smb2EncryptionContext.CIPHER_AES_256_CCM, "AES-256-CCM constant should be defined"); assertEquals(0x0004, Smb2EncryptionContext.CIPHER_AES_256_GCM, "AES-256-GCM constant should be defined");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
final SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO); final ACE[] aces = desc.getAces(); if (aces != null) { processAces(aces, resolveSids); } return aces; } } @Override public SID getOwnerUser() throws IOException { return getOwnerUser(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
this.preauthSalt = salt; if (config.isEncryptionEnabled()) { // Build cipher list based on AES-256 support List<Integer> ciphers = new ArrayList<>(); // Prefer GCM over CCM for better performance if (config.isAES256Enabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
String archiveId = sessionId + ".v" + currentVersion; storeSessionKeyInternal(archiveId, currentKey, "AES"); // Store new key storeSessionKeyInternal(sessionId, newKey, "AES"); keyVersions.put(sessionId, newVersion); keyCreationTimes.put(sessionId, System.currentTimeMillis());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
private static final int SIGNATURE_OFFSET = 48; private static final int SIGNATURE_LENGTH = 16; @BeforeAll static void setupClass() { // Ensure BouncyCastle provider is available for AES-CMAC if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) { Security.addProvider(new BouncyCastleProvider()); } } @BeforeEach void setup() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test log encryption") void testLogEncryption() { logger.logEncryption(true, "AES-128-GCM", "SMB3.1.1"); Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* <p> * Alternatively <code>getSecurity(true)</code> may be used to resolve all * SIDs together and detect network failures. * * @return array of ACEs * @throws IOException if an I/O error occurs */ ACE[] getSecurity() throws IOException; /** * Return an array of Access Control Entry (ACE) objects representingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (cipherId == -1) { // Default to AES-128-GCM for SMB 3.1.1 if no cipher negotiated cipherId = EncryptionNegotiateContext.CIPHER_AES128_GCM; } } else if (dialect.atLeast(DialectVersion.SMB300)) { // SMB 3.0/3.0.2 only supports AES-128-CCM cipherId = EncryptionNegotiateContext.CIPHER_AES128_CCM; } else {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
```java public class SecureHandleStorage { private final SecretKey encryptionKey; public void saveEncrypted(HandleInfo handle, Path file) throws Exception { Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)