summaryrefslogtreecommitdiffstats
path: root/auth/auth-certman/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-10 15:57:01 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-09-10 15:57:17 +0530
commitb68d4a4b8cfb05952b7aa5a3160679bb6c281502 (patch)
treed7455b4ceec76a4a448b313ab210b3c1791df286 /auth/auth-certman/src
parent7e966914050e66219689001ff4ab601a49eef0ac (diff)
CertResp.java: Fixed sonar issue
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%2Fdata%2FCertResp.java Issue-ID: AAF-476 Change-Id: I5aafc143b7af1fdb11c2ef029fef624cf34fad3a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'auth/auth-certman/src')
-rw-r--r--auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java
index e156fe91..874019d7 100644
--- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java
+++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java
@@ -37,7 +37,8 @@ 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;
@@ -61,7 +62,7 @@ public class CertResp {
return certString;
}
- public String privateString() throws IOException {
+ public String privateString() {
return privateKey;
}