View Javadoc

1   /*
2    * $Id: PGPCryptInfo.java 19191 2010-08-25 21:05:23Z tcarlson $
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 cryptix.pki.KeyBundle;
14  
15  public class PGPCryptInfo
16  {
17      KeyBundle keyBundle;
18      boolean signRequested;
19  
20      public PGPCryptInfo(KeyBundle keyBundle, boolean signRequested)
21      {
22          super();
23  
24          this.keyBundle = keyBundle;
25          this.signRequested = signRequested;
26      }
27  
28      public KeyBundle getKeyBundle()
29      {
30          return keyBundle;
31      }
32  
33      public void setKeyBundle(KeyBundle keyBundle)
34      {
35          this.keyBundle = keyBundle;
36      }
37  
38      public boolean isSignRequested()
39      {
40          return signRequested;
41      }
42  
43      public void setSignRequested(boolean signRequested)
44      {
45          this.signRequested = signRequested;
46      }
47  }