1
2
3
4
5
6
7
8
9
10 package org.eclipse.jgit.gpg.bc.internal;
11
12 import java.nio.file.Path;
13
14 import org.bouncycastle.openpgp.PGPSecretKey;
15
16
17
18
19
20 class BouncyCastleGpgKey {
21
22 private PGPSecretKey secretKey;
23
24 private Path origin;
25
26 public BouncyCastleGpgKey(PGPSecretKey secretKey, Path origin) {
27 this.secretKey = secretKey;
28 this.origin = origin;
29 }
30
31 public PGPSecretKey getSecretKey() {
32 return secretKey;
33 }
34
35 public Path getOrigin() {
36 return origin;
37 }
38 }