Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for decrypted (0.08 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Decrypt
            char[] decrypted = storage.decryptCredentials(encrypted);
            assertNotNull(decrypted, "Decrypted data should not be null");
            assertArrayEquals(plaintext, decrypted, "Decrypted should match original");
    
            // Clean up sensitive data
            Arrays.fill(plaintext, '\0');
            Arrays.fill(decrypted, '\0');
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertTrue(encrypted.length >= 52, "Encrypted message should include transform header");
    
            // When - Decrypt
            byte[] decrypted = context.decryptMessage(encrypted);
    
            // Then - Verify decryption
            assertArrayEquals(plaintext, decrypted, "Decrypted message should match original plaintext");
        }
    
        @Test
        @DisplayName("Should handle concurrent encryption operations safely")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/https.md

    So, the client sends an **HTTPS request**. This is just an HTTP request through an encrypted TLS connection.
    
    <img src="/img/deployment/https/https04.drawio.svg">
    
    ### Decrypt the Request { #decrypt-the-request }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

         * @return decrypted credentials
         * @throws GeneralSecurityException if decryption fails
         */
        public char[] decryptFromString(String encryptedString) throws GeneralSecurityException {
            if (encryptedString == null) {
                return null;
            }
            byte[] encrypted = Base64.getDecoder().decode(encryptedString);
            return decryptCredentials(encrypted);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

            }
    
            final boolean encrypted = (this.ntlmsspFlags & NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH) != 0;
            if (encrypted) {
                try {
                    trunc = this.sealServerHandle.doFinal(trunc);
                    if (log.isDebugEnabled()) {
                        log.debug("Decrypted " + Hexdump.toHexString(trunc));
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            for (int i = 0; i < length; i++) {
                dest[destPos + i] = src[srcPos + i];
            }
        }
    
        /**
         * Decrypt an SMB2 message
         *
         * @param encryptedMessage
         *            encrypted message with transform header
         * @return decrypted plaintext message
         * @throws CIFSException
         *             if decryption fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	WantServerSideChecksumType hash.ChecksumType // if set, we compute a server-side checksum of this type
    
    	NoDecryption                        bool      // indicates if the stream must be decrypted.
    	PreserveETag                        string    // preserves this etag during a PUT call.
    	NoLock                              bool      // indicates to lower layers if the caller is expecting to hold locks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
            return this.encryptionContext.encryptMessage(message, this.sessionId);
        }
    
        /**
         * Decrypt a message using the session's encryption context
         *
         * @param encryptedMessage the encrypted message with transform header
         * @return decrypted message
         * @throws CIFSException if decryption fails or encryption is not enabled
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    		srcInfo.metadataOnly = false
    	} // no changes in storage-class expected so its a metadataonly operation.
    
    	var reader io.Reader = gr
    
    	// Set the actual size to the compressed/decrypted size if encrypted.
    	actualSize, err := srcInfo.GetActualSize()
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	length := actualSize
    
    	if !cpSrcDstSame {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/DES.java

            encrypt(clearText, 0, cipherText, 0);
        }
    
        /// Decrypt a block of bytes.
        /**
         * Decrypts an 8-byte block using DES
         * @param cipherText the 8-byte ciphertext block
         * @param clearText the output 8-byte plaintext block
         */
        public void decrypt(final byte[] cipherText, final byte[] clearText) {
    
            decrypt(cipherText, 0, clearText, 0);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top