1
2
3
4
5
6
7
8
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 super();
23
24 this.setPublicKey(publicKey);
25 this.setSignRequested(signRequested);
26 }
27
28 public PGPPublicKey getPublicKey()
29 {
30 return publicKey;
31 }
32
33 public void setPublicKey(PGPPublicKey publicKey)
34 {
35 this.publicKey = publicKey;
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 }