- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 38 for DECRYPTION (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java
@Deprecated(since = "4.0.0") public interface SettingsDecrypter { /** * Decrypts passwords in the settings. * * @param request The settings decryption request that holds the parameters, must not be {@code null}. * @return The result of the settings decryption, never {@code null}. */ SettingsDecryptionResult decrypt(SettingsDecryptionRequest request);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
this(token, null); } /** * Constructs a KerberosToken from token bytes with decryption keys. * * @param token the token bytes * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if token decoding fails */ public KerberosToken(byte[] token, KerberosKey[] keys) throws PACDecodingException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
private byte apOptions; private KerberosTicket ticket; /** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryption * @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/debugging/inspect/main.go
fmt.Println("Added private key from", fn) } else { break } n++ } // Prompt for decryption key if no --key or --private-key are provided if len(privateKeys) == 0 && !*stdin { reader := bufio.NewReader(os.Stdin) fmt.Print("Enter Decryption Key: ") text, _ := reader.ReadString('\n') // convert CRLF to LF *keyHex = strings.ReplaceAll(text, "\n", "")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
// It mainly tests the decryption logic path Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0); byte[] data = new byte[32]; // Dummy data // The test will likely fail with "Checksum failed" as the data is not properly encrypted // but it proves the decryption path is taken.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
/** * Constructs a KerberosTicket from token bytes. * * @param token the ticket token bytes * @param apOptions AP options flags * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if ticket decoding fails */ public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException { if (token.length <= 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0)