Merge "Sonar Fix: Clear.java"
[aaf/authz.git] / auth / auth-certman / src / main / java / org / onap / aaf / auth / cm / data / CertResp.java
index e156fe9..71ccf3c 100644 (file)
@@ -37,11 +37,12 @@ public class CertResp {
     private KeyPair keyPair;
     private String challenge;
     
-    private String privateKey, certString;
+    private String privateKey;
+    private String certString;
     private String[] trustChain;
     private String[] notes;
     
-    public CertResp(Trans trans, CA ca, X509Certificate x509, CSRMeta csrMeta, String[] trustChain, String[] notes) throws IOException, GeneralSecurityException, CertException {
+    public CertResp(Trans trans, CA ca, X509Certificate x509, CSRMeta csrMeta, String[] trustChain, String[] notes) throws IOException, CertException {
         keyPair = csrMeta.keypair(trans);
         privateKey = Factory.toString(trans, keyPair.getPrivate());
         certString = Factory.toString(trans,x509);
@@ -61,7 +62,7 @@ public class CertResp {
         return certString;
     }
     
-    public String privateString() throws IOException {
+    public String privateString() {
         return privateKey;
     }