From 6abd52cbc4d4ecb36600fb04ffc0de2a01eb7983 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 13 Sep 2007 22:20:24 +0000
Subject: [PATCH] Fix for issue 2059. Use the SHA1 and MD5 fingerprints of the certificate instead of the signature and public keys.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
index 82df03c..1a78723 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
@@ -956,11 +956,9 @@
INFO_CERTIFICATE_VALID_FROM_LABEL.get(),
INFO_CERTIFICATE_EXPIRES_ON_LABEL.get(),
INFO_CERTIFICATE_TYPE_LABEL.get(),
- INFO_CERTIFICATE_SERIAL_NUMBER_LABEL.get(),
- INFO_CERTIFICATE_SIGNATURE_LABEL.get(),
- INFO_CERTIFICATE_SIGNATURE_ALGORITHM_LABEL.get(),
- INFO_CERTIFICATE_VERSION_LABEL.get(),
- INFO_CERTIFICATE_PUBLIC_KEY_LABEL.get()
+ INFO_CERTIFICATE_SERIAL_NUMBER_LABEL.get()
+ INFO_CERTIFICATE_MD5_FINGERPRINT_LABEL.get(),
+ INFO_CERTIFICATE_SHA1_FINGERPRINT_LABEL.get()
};
for (int i=0; i<udce.getChain().length; i++)
{
@@ -973,10 +971,8 @@
CertificateDialog.getExpiresOn(cert),
cert.getType(),
String.valueOf(cert.getSerialNumber()),
- CertificateDialog.getSignature(cert).toString(),
- String.valueOf(cert.getSigAlgName()),
- String.valueOf(cert.getVersion()),
- cert.getPublicKey().toString()
+ CertificateDialog.getMD5FingerPrint(cert).toString(),
+ CertificateDialog.getSHA1FingerPrint(cert).toString()
};
for (int j=0; j<labels.length; j++)
{
--
Gitblit v1.10.0