Coverage Report - org.mule.module.pgp.PGPCryptInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
PGPCryptInfo
0%
0/10
N/A
1
 
 1  
 /*
 2  
  * $Id: PGPCryptInfo.java 20310 2010-11-24 10:40:35Z esteban.robles $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.module.pgp;
 12  
 
 13  
 import org.bouncycastle.openpgp.PGPPublicKey;
 14  
 
 15  
 public class PGPCryptInfo
 16  
 {
 17  
     private PGPPublicKey publicKey;
 18  
     private boolean signRequested;
 19  
 
 20  
     public PGPCryptInfo(PGPPublicKey publicKey, boolean signRequested)
 21  
     {
 22  0
         super();
 23  
 
 24  0
         this.setPublicKey(publicKey);
 25  0
         this.setSignRequested(signRequested);
 26  0
     }
 27  
 
 28  
     public PGPPublicKey getPublicKey()
 29  
     {
 30  0
         return publicKey;
 31  
     }
 32  
 
 33  
     public void setPublicKey(PGPPublicKey publicKey)
 34  
     {
 35  0
         this.publicKey = publicKey;
 36  0
     }
 37  
 
 38  
     public boolean isSignRequested()
 39  
     {
 40  0
         return signRequested;
 41  
     }
 42  
 
 43  
     public void setSignRequested(boolean signRequested)
 44  
     {
 45  0
         this.signRequested = signRequested;
 46  0
     }
 47  
 }