01: /*
02: * $Id: PGPCryptInfo.java 10789 2008-02-12 20:04:43Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.module.pgp;
12:
13: import cryptix.pki.KeyBundle;
14:
15: public class PGPCryptInfo {
16: KeyBundle keyBundle;
17: boolean signRequested;
18:
19: public PGPCryptInfo(KeyBundle keyBundle, boolean signRequested) {
20: super ();
21:
22: this .keyBundle = keyBundle;
23: this .signRequested = signRequested;
24: }
25:
26: public KeyBundle getKeyBundle() {
27: return keyBundle;
28: }
29:
30: public void setKeyBundle(KeyBundle keyBundle) {
31: this .keyBundle = keyBundle;
32: }
33:
34: public boolean isSignRequested() {
35: return signRequested;
36: }
37:
38: public void setSignRequested(boolean signRequested) {
39: this.signRequested = signRequested;
40: }
41: }
|