1
2
3
4
5
6
7
8
9
10
11 package org.mule.module.pgp;
12
13 import org.bouncycastle.openpgp.PGPPublicKey;
14 import org.bouncycastle.openpgp.PGPSecretKey;
15
16 public class PGPKeyRingTestCase extends AbstractEncryptionStrategyTestCase
17 {
18 public void testClientKey()
19 {
20 PGPPublicKey clientKey = keyManager.getPublicKey("Mule client <mule_client@mule.com>");
21 assertNotNull(clientKey);
22 }
23
24 public void testServerKey()
25 {
26 PGPSecretKey serverKey = keyManager.getSecretKey();
27 assertNotNull(serverKey);
28 }
29 }