Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for DECRYPTION (0.17 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. docs/debugging/README.md

    mc: Even with the decryption key, data stored with encryption cannot be accessed.
    ```
    
    This file can be decrypted using the decryption tool below:
    
    ### Installing decryption tool
    
    To install, [Go](https://golang.org/dl/) must be installed.
    
    Once installed, execute this to install the binary:
    
    ```bash
    go install github.com/minio/minio/docs/debugging/inspect@latest
    ```
    
    ### Usage
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. 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)
  6. 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");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         */
        List<Proxy> getProxies();
    
        /**
         * Gets the problems that were encountered during the settings decryption.
         *
         * @return The problems that were encountered during the decryption, can be empty but never {@code null}.
         */
        List<SettingsProblem> getProblems();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. 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 {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top