summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-17 15:58:59 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-09-17 15:59:09 +0530
commitc9c98ec078856ce22ba6a701a83d5457fc15b82e (patch)
tree5a669dca0f8a2f52d4bc07cdbee21761b8bfa183 /auth
parent31724de8ac6df8efd7aca6faed3770112e50e6c4 (diff)
X509andChain.java: Fixed sonar issues
Sonar 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>
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java
index 7eb88bd2..9a0e1c0d 100644
--- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java
+++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java
@@ -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);