The following examples show you how to use the Amazon S3 Encryption Client for Java to encrypt and decrypt Amazon S3 objects. These examples show how to use version 3. x of the Amazon S3 Encryption Client for Java. For more detailed examples, see the