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 | 0 | super(); |
23 | |
|
24 | 0 | this.setPublicKey(publicKey); |
25 | 0 | this.setSignRequested(signRequested); |
26 | 0 | } |
27 | |
|
28 | |
public PGPPublicKey getPublicKey() |
29 | |
{ |
30 | 0 | return publicKey; |
31 | |
} |
32 | |
|
33 | |
public void setPublicKey(PGPPublicKey publicKey) |
34 | |
{ |
35 | 0 | this.publicKey = publicKey; |
36 | 0 | } |
37 | |
|
38 | |
public boolean isSignRequested() |
39 | |
{ |
40 | 0 | return signRequested; |
41 | |
} |
42 | |
|
43 | |
public void setSignRequested(boolean signRequested) |
44 | |
{ |
45 | 0 | this.signRequested = signRequested; |
46 | 0 | } |
47 | |
} |