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