X509andChain.java: Fixed sonar issues 51/66951/1
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 17 Sep 2018 10:28:59 +0000 (15:58 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Mon, 17 Sep 2018 10:29:09 +0000 (15:59 +0530)
link: https://sonar.onap.org/code?id=org.onap.aaf.authz%3Aparent&selected=org.onap.aaf.authz%3Aaaf-auth-certman%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fcm%2Fca%2FX509andChain.java
Issue-ID: AAF-500
Change-Id: Ieca0921f564ca0d243a1c4d4ac9a2777b81edbee
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java

index 7eb88bd..9a0e1c0 100644 (file)
@@ -45,12 +45,12 @@ public class X509andChain {
         trustChain = null;
     }
     
-    public X509andChain(X509Certificate cert, String[] tc) throws IOException, CertException {
+    public X509andChain(X509Certificate cert, String[] tc) {
         this.cert = cert;
         trustChain=tc;
     }
 
-    public X509andChain(X509Certificate cert, List<String> chain) throws IOException, CertException {
+    public X509andChain(X509Certificate cert, List<String> chain) {
         this.cert = cert;
         trustChain = new String[chain.size()+1];
         chain.toArray(trustChain);