1
2
3
4
5
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 super();
19
20 this.setPublicKey(publicKey);
21 this.setSignRequested(signRequested);
22 }
23
24 public PGPPublicKey getPublicKey()
25 {
26 return publicKey;
27 }
28
29 public void setPublicKey(PGPPublicKey publicKey)
30 {
31 this.publicKey = publicKey;
32 }
33
34 public boolean isSignRequested()
35 {
36 return signRequested;
37 }
38
39 public void setSignRequested(boolean signRequested)
40 {
41 this.signRequested = signRequested;
42 }
43 }