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  
  * 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.module.pgp;
 8  
 
 9  
 import org.bouncycastle.openpgp.PGPPublicKey;
 10  
 
 11  
 public class PGPCryptInfo
 12  
 {
 13  
     private PGPPublicKey publicKey;
 14  
     private boolean signRequested;
 15  
 
 16  
     public PGPCryptInfo(PGPPublicKey publicKey, boolean signRequested)
 17  
     {
 18  0
         super();
 19  
 
 20  0
         this.setPublicKey(publicKey);
 21  0
         this.setSignRequested(signRequested);
 22  0
     }
 23  
 
 24  
     public PGPPublicKey getPublicKey()
 25  
     {
 26  0
         return publicKey;
 27  
     }
 28  
 
 29  
     public void setPublicKey(PGPPublicKey publicKey)
 30  
     {
 31  0
         this.publicKey = publicKey;
 32  0
     }
 33  
 
 34  
     public boolean isSignRequested()
 35  
     {
 36  0
         return signRequested;
 37  
     }
 38  
 
 39  
     public void setSignRequested(boolean signRequested)
 40  
     {
 41  0
         this.signRequested = signRequested;
 42  0
     }
 43  
 }