Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 52 for DECRYPTION (0.07 seconds)

  1. src/main/java/jcifs/util/Crypto.java

    import javax.crypto.spec.SecretKeySpec;
    
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    
    import jcifs.CIFSUnsupportedCryptoException;
    
    /**
     * Cryptographic utility class providing encryption and decryption functionality for jCIFS.
     * Handles security provider initialization and cryptographic operations for SMB authentication.
     *
     * @author mbechler
     */
    public final class Crypto {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. internal/crypto/metadata.go

    	// added it. However, when decrypting an object the bucket/object name must
    	// be part of the object. Therefore, the bucket/object name must be added
    	// to the context, if not present, whenever a decryption is performed.
    	MetaContext = "X-Minio-Internal-Server-Side-Encryption-Context"
    
    	// ARNPrefix prefix for "arn:aws:kms"
    	ARNPrefix = "arn:aws:kms:"
    )
    
    // IsMultiPart returns true if the object metadata indicates
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 17:40:33 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertEquals(invertibleCryptographer, provider.providePrimaryInvertibleCryptographer());
            assertEquals(md5, provider.providePrimaryOneWayCryptographer());
        }
    
        // Test encryption and decryption functionality
        @Test
        public void test_invertibleCryptography() {
            // Test that invertible cryptography works correctly
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Transform Header for encrypted messages
     *
     * This header is used to encrypt SMB2/SMB3 messages and provides the necessary
     * cryptographic parameters for decryption including the nonce, session ID, and
     * authentication tag.
     *
     * @author mbechler
     */
    public class Smb2TransformHeader implements Encodable {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. 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) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. internal/kms/secret-key.go

    		Plaintext:  plaintext,
    		Ciphertext: ciphertext,
    	}, nil
    }
    
    // Decrypt decrypts req.Ciphertext. The key name req.Name must match the key
    // name of the secretKey.
    //
    // Decrypt supports decryption of binary-encoded ciphertexts, as produced by KES
    // and MinKMS, and legacy JSON formatted ciphertexts.
    func (s secretKey) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) {
    	if req.Name != s.keyID {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. 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;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. 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";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. internal/etag/etag.go

    //     before calling Format.
    //     S3 clients expect that the ETag of an SSE-S3 encrypted
    //     single-part object is equal to the object's content MD5.
    //     Formatting the SSE-S3 ETag before decryption will result
    //     in a random-looking ETag which an S3 client will not accept.
    //
    // Hence, a caller has to check:
    //
    //	if method == SSE-S3 {
    //	   ETag, err := Decrypt(key, ETag)
    //	   if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top