- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for DECRYPTION (0.04 sec)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.internal.smb2.nego.EncryptionNegotiateContext; import jcifs.util.SecureKeyManager; /** * SMB2/SMB3 Encryption Context * * Manages encryption and decryption operations for SMB2/SMB3 sessions. * Handles both AES-CCM (SMB 3.0/3.0.2) and AES-GCM (SMB 3.1.1) cipher suites. * * @author mbechler */ public class Smb2EncryptionContext implements AutoCloseable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(decKey, "Decryption key should not be null"); assertEquals(16, decKey.length, "Decryption key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, decKey), "Decryption key should be different from session key"); } @Test @DisplayName("Should derive different decryption keys for different dialects")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
.thenThrow(new GeneralSecurityException("Decryption error")); PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(token, (byte) 0, keys)); assertTrue(e.getMessage().startsWith("Decryption failed")); } } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
*/ protected void offerEncryptoCipher(final Cipher cipher) { encryptoQueue.offer(cipher); } /** * Polls a decryption cipher from the queue, creating a new one if none are available. * * @return a decryption cipher */ protected Cipher pollDecryptoCipher() { Cipher cipher = decryptoQueue.poll(); if (cipher == null) { try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should throw exception for null decryption key") void testNullDecryptionKey() { // When/Then assertThrows(NullPointerException.class, () -> { new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, null); }, "Should throw NullPointerException for null decryption key"); } @TestRegistered: 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/pac/kerberos/KerberosEncData.java
/** * Decrypts Kerberos encrypted data using the specified key. * * @param data the encrypted data to decrypt * @param key the decryption key * @param type the encryption type * @return the decrypted data * @throws GeneralSecurityException if decryption fails */ public static byte[] decrypt(byte[] data, Key key, int type) throws GeneralSecurityException { Cipher cipher = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
// Produced ClientHello handshake message // // Raw write // Raw read // Plaintext before ENCRYPTION // Plaintext after DECRYPTION val message = record.message val parameters = record.parameters if (parameters != null && !message.startsWith("Raw") && !message.startsWith("Plaintext")) { if (verbose) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
/** * Decrypt credentials from a base64 string * * @param encryptedString base64 encoded encrypted credentials * @return decrypted credentials * @throws GeneralSecurityException if decryption fails */ public char[] decryptFromString(String encryptedString) throws GeneralSecurityException { if (encryptedString == null) { return null; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(transport.isFailed()).thenReturn(true); assertFalse(session.isConnected()); assertTrue(session.isFailed()); } @Test @DisplayName("encryption: flags, encryption, and decryption delegation") void testEncryptionDelegation() throws Exception { SmbSessionImpl session = newSession(); // No encryption context -> throws
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
/** * The key for user roles in the request attribute. */ protected static final String USER_ROLES = "userRoles"; /** * The cached cipher for encryption and decryption. */ protected CachedCipher cipher; /** * The separator for values in the role string. */ protected String valueSeparator = "\n"; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15.1K bytes - Viewed (0)