KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > extras > pgp > PGPCryptInfo


1 /*
2  * $Id: PGPCryptInfo.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.extras.pgp;
12
13 import cryptix.pki.KeyBundle;
14
15 /**
16  * @author ariva
17  */

18 public class PGPCryptInfo
19 {
20
21     KeyBundle keyBundle;
22     boolean signRequested;
23
24     public PGPCryptInfo(KeyBundle keyBundle, boolean signRequested)
25     {
26         super();
27
28         this.keyBundle = keyBundle;
29         this.signRequested = signRequested;
30     }
31
32     public KeyBundle getKeyBundle()
33     {
34         return keyBundle;
35     }
36
37     public void setKeyBundle(KeyBundle keyBundle)
38     {
39         this.keyBundle = keyBundle;
40     }
41
42     public boolean isSignRequested()
43     {
44         return signRequested;
45     }
46
47     public void setSignRequested(boolean signRequested)
48     {
49         this.signRequested = signRequested;
50     }
51 }
52
Popular Tags