Coverage Report - org.mule.transformer.encryption.EncryptionTransformer
 
Classes in this File Line Coverage Branch Coverage Complexity
EncryptionTransformer
0%
0/2
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transformer.encryption;
 8  
 
 9  
 import org.mule.api.security.CryptoFailureException;
 10  
 
 11  
 import java.io.InputStream;
 12  
 
 13  
 /**
 14  
  * <code>EncryptionTransformer</code> will transform an array of bytes or string
 15  
  * into an encrypted array of bytes
 16  
  */
 17  0
 public class EncryptionTransformer extends AbstractEncryptionTransformer
 18  
 {
 19  
     @Override
 20  
     protected InputStream primTransform(InputStream input) throws CryptoFailureException
 21  
     {
 22  0
         return getStrategy().encrypt(input, null);
 23  
     }
 24  
 }