Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for DECRYPTION (0.05 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. 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)
  5. 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)
  6. docs/security/README.md

    SSE-C allows an S3 client to en/decrypt an object at the MinIO server. Therefore the S3 client sends a secret key as part of the HTTP request. This secret key is **never** stored by the MinIO server and only resides in RAM during the en/decryption process.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. cmd/encryption-v1.go

    				}
    			}
    			objects = objects[N:]
    			continue
    		}
    
    		// There is at least one SSE-S3 single-part object.
    		// For all SSE-S3 single-part objects we have to
    		// fetch their decryption keys. We do this using
    		// a Bulk-Decryption API call, if available.
    		keys, err := crypto.S3.UnsealObjectKeys(ctx, k, metadata, buckets, names)
    		if err != nil {
    			return err
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  9. cmd/encryption-v1_test.go

    			t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr)
    		} else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
    		} else if !encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i)
    		}
    	}
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. internal/kms/kms.go

    // and options for decrypting data.
    type DecryptRequest struct {
    	// Name is the name of the master key used decrypt
    	// the ciphertext.
    	Name string
    
    	// Version is the version of the master used for
    	// decryption. If empty, the latest key version
    	// is used.
    	Version int
    
    	// Ciphertext is the encrypted data that gets
    	// decrypted.
    	Ciphertext []byte
    
    	// AssociatedData is the crypto. associated data.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top