summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-09 13:56:59 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-12 10:16:22 -0500
commit7d88f4ee050856b8fef5f260cfe1b3aeec201fda (patch)
tree9d0b80dcbcc63ccb83d32995376168dcd086bab9 /base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java
parent3f24e55923fc986af4c6a08b2b8d45704a905627 (diff)
downloadpki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.gz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.xz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.zip
Removed unused private fields.
Most of unused private fields have been removed because they generate warnings in Eclipse. Some are kept because it might be useful later. Ticket #139
Diffstat (limited to 'base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java')
-rw-r--r--base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java b/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java
index 8d8e7dfcc..328f6a86c 100644
--- a/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java
+++ b/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java
@@ -37,7 +37,6 @@ import com.netscape.certsrv.security.KeyCertData;
public class SSLSelfSignedCert extends CertificateInfo {
public static final String SUBJECT_NAME =
"CN=SSL, O=Netscape Communications, C=US";
- private String mTokenname = Constants.PR_INTERNAL_TOKEN_NAME;
public SSLSelfSignedCert(KeyCertData properties) {
this(properties, null);
@@ -45,11 +44,6 @@ public class SSLSelfSignedCert extends CertificateInfo {
public SSLSelfSignedCert(KeyCertData properties, KeyPair pair) {
super(properties, pair);
- String tmp = (String) mProperties.get(Constants.PR_TOKEN_NAME);
-
- if ((tmp != null) &&
- (!tmp.equals(Constants.PR_INTERNAL_TOKEN)))
- mTokenname = tmp;
mProperties.remove(Constants.PR_AKI);
// 020599: This SSL server bit has to be turned on. Otherwise, it