Ejemplo n.º 1
0
        public void MultipartEncryptionTestInstructionFileSymmetricWrap()
        {
            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientFileModeSymmetricWrapV2,
                                                         s3EncryptionClientFileModeSymmetricWrapV1N, bucketName);

            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientFileModeSymmetricWrapV1N,
                                                         s3EncryptionClientFileModeSymmetricWrapV2, bucketName);
        }
Ejemplo n.º 2
0
        public void MultipartEncryptionTestMetadataModeKMS()
        {
            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientMetadataModeKMSV2,
                                                         s3EncryptionClientMetadataModeKMSV1N, bucketName);

            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientMetadataModeKMSV1N,
                                                         s3EncryptionClientMetadataModeKMSV2, bucketName);
        }
Ejemplo n.º 3
0
        public void MultipartEncryptionTestMetadataModeSymmetricWrap()
        {
            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientMetadataModeSymmetricWrapV2,
                                                         s3EncryptionClientMetadataModeSymmetricWrapV1N, bucketName);

            EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientMetadataModeSymmetricWrapV1N,
                                                         s3EncryptionClientMetadataModeSymmetricWrapV2, bucketName);
        }
 public void MultipartEncryptionTestInstructionFileKMS()
 {
     AssertExtensions.ExpectException(
         () =>
     {
         EncryptionTestsUtils.MultipartEncryptionTest(s3EncryptionClientFileModeKMSV1,
                                                      s3EncryptionClientFileModeKMSV2, bucketName);
     }, typeof(AmazonClientException), InstructionAndKMSErrorMessage);
 }