diff options
author | 2018-11-26 23:50:20 +0530 | |
---|---|---|
committer | 2018-11-26 18:25:14 +0000 | |
commit | a950241560571e99b8b268880a184edf292523d5 (patch) | |
tree | 8f6fe5875627cb749c961e8bb8fcbf4561f1dc09 /auth/auth-certman/src/main | |
parent | 60868269442f7ceb778753b5c08116c908ecb46b (diff) |
Fixed sonar issue in JscepCA
Removed unused imports
Issue-ID: AAF-644
Change-Id: If635545ae6bf4efcddb497d32db6d46d436a5843
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'auth/auth-certman/src/main')
-rw-r--r-- | auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/JscepCA.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/JscepCA.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/JscepCA.java index 4a35ca24..4caa3390 100644 --- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/JscepCA.java +++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/JscepCA.java @@ -4,6 +4,8 @@ * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * =========================================================================== + * Modifications Copyright (C) 2018 IBM. + * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -26,22 +28,19 @@ import java.net.Authenticator; import java.net.MalformedURLException; import java.net.PasswordAuthentication; import java.net.URL; -import java.security.cert.CertStoreException; import java.security.cert.Certificate; -import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import org.bouncycastle.operator.OperatorCreationException; + import org.bouncycastle.pkcs.PKCS10CertificationRequest; import org.jscep.client.Client; import org.jscep.client.ClientException; import org.jscep.client.EnrollmentResponse; import org.jscep.client.verification.CertificateVerifier; -import org.jscep.transaction.TransactionException; import org.onap.aaf.auth.cm.cert.BCFactory; import org.onap.aaf.auth.cm.cert.CSRMeta; import org.onap.aaf.cadi.Access; |