diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-03-14 09:22:01 +1000 |
---|---|---|
committer | Fraser Tweedale <ftweedal@redhat.com> | 2016-03-22 13:50:56 +1000 |
commit | feaa0b8f2c277f7633ba4f46cdeb124004cb1ba3 (patch) | |
tree | dccace5b30ec3ce5915f66ec5d1687b06c98571f /base/util | |
parent | 364013d6d06a701a02b3218d96e09b4851253c67 (diff) | |
download | pki-feaa0b8f2c277f7633ba4f46cdeb124004cb1ba3.tar.gz pki-feaa0b8f2c277f7633ba4f46cdeb124004cb1ba3.tar.xz pki-feaa0b8f2c277f7633ba4f46cdeb124004cb1ba3.zip |
Remove unused 'toMIME64' methods
Diffstat (limited to 'base/util')
-rw-r--r-- | base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java index e98027dce..06caa0242 100644 --- a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java +++ b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java @@ -455,20 +455,6 @@ public class CryptoUtil { } }); } - /* - * encodes cert - */ - // private static BASE64Encoder mEncoder = new BASE64Encoder(); - public static String toMIME64(X509CertImpl cert) { - try { - return "-----BEGIN CERTIFICATE-----\n" - // + mEncoder.encodeBuffer(cert.getEncoded()) - + Utils.base64encode(cert.getEncoded()) - + "-----END CERTIFICATE-----\n"; - } catch (Exception e) { - } - return null; - } public static boolean arraysEqual(byte[] bytes, byte[] ints) { if (bytes == null || ints == null) { |