1 package org.bouncycastle.crypto;
2
3
6 public class AsymmetricCipherKeyPair
7 {
8 private CipherParameters publicParam;
9 private CipherParameters privateParam;
10
11
17 public AsymmetricCipherKeyPair(
18 CipherParameters publicParam,
19 CipherParameters privateParam)
20 {
21 this.publicParam = publicParam;
22 this.privateParam = privateParam;
23 }
24
25
30 public CipherParameters getPublic()
31 {
32 return publicParam;
33 }
34
35
40 public CipherParameters getPrivate()
41 {
42 return privateParam;
43 }
44 }
45