summaryrefslogtreecommitdiffstats
path: root/base/common/src/com
diff options
context:
space:
mode:
authorChristina Fu <cfu@redhat.com>2017-03-17 11:49:41 -0700
committerChristina Fu <cfu@redhat.com>2017-03-17 16:11:18 -0700
commit9054186e8d66fbdd023d95ae375aa13feaf905ee (patch)
tree736eeb6b80e7d456e18b071c5c64813650befd8c /base/common/src/com
parentd06e291b25087dfd4cd70e6f97e2c0f4f84bd121 (diff)
downloadpki-9054186e8d66fbdd023d95ae375aa13feaf905ee.tar.gz
pki-9054186e8d66fbdd023d95ae375aa13feaf905ee.tar.xz
pki-9054186e8d66fbdd023d95ae375aa13feaf905ee.zip
pagure#2605 CMC feature: id-cmc-identityProofV2 per rfc5272 (part 1)
This patch provides methods that can be shared between the CA and the ISharedToken plugins: 1. the convenience routines for quick encryption, decryption, hashing methods that take default algorithms. 2. The establishment of Issuance Protection Certificate
Diffstat (limited to 'base/common/src/com')
-rw-r--r--base/common/src/com/netscape/certsrv/ca/ICertificateAuthority.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/ca/ICertificateAuthority.java b/base/common/src/com/netscape/certsrv/ca/ICertificateAuthority.java
index 8ddc601e5..d94162487 100644
--- a/base/common/src/com/netscape/certsrv/ca/ICertificateAuthority.java
+++ b/base/common/src/com/netscape/certsrv/ca/ICertificateAuthority.java
@@ -607,4 +607,19 @@ public interface ICertificateAuthority extends ISubsystem {
*/
public void deleteAuthority(HttpServletRequest httpReq)
throws EBaseException;
+
+ /**
+ * get Issuance Protection Public Key
+ */
+ public java.security.PublicKey getIssuanceProtPubKey();
+
+ /**
+ * get Issuance Protection Private Key
+ */
+ public org.mozilla.jss.crypto.PrivateKey getIssuanceProtPrivKey();
+
+ /**
+ * get Issuance Protection Certificate
+ */
+ public org.mozilla.jss.crypto.X509Certificate getIssuanceProtCert();
}