diff options
Diffstat (limited to 'libs/MemorizingTrustManager/src/de/duenndns')
-rw-r--r-- | libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java | 9 | ||||
-rw-r--r-- | libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java | 14 |
2 files changed, 14 insertions, 9 deletions
diff --git a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java index 013ac29b5..567c2d817 100644 --- a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java +++ b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java @@ -24,16 +24,17 @@ package de.duenndns.ssl; -import java.util.logging.Level; -import java.util.logging.Logger; - import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; -import android.content.DialogInterface.*; +import android.content.DialogInterface.OnCancelListener; +import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.os.Bundle; +import java.util.logging.Level; +import java.util.logging.Logger; + public class MemorizingActivity extends Activity implements OnClickListener,OnCancelListener { diff --git a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java index 4aa17e04f..d1a7e341a 100644 --- a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java +++ b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java @@ -30,27 +30,31 @@ import android.app.Activity; import android.app.Application; import android.app.Notification; import android.app.NotificationManager; -import android.app.Service; import android.app.PendingIntent; +import android.app.Service; import android.content.Context; import android.content.Intent; import android.net.Uri; -import android.util.SparseArray; import android.os.Handler; +import android.util.SparseArray; import java.io.File; import java.io.IOException; -import java.security.cert.*; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.MessageDigest; -import java.util.logging.Level; -import java.util.logging.Logger; +import java.security.cert.Certificate; +import java.security.cert.CertificateException; +import java.security.cert.CertificateExpiredException; +import java.security.cert.CertificateParsingException; +import java.security.cert.X509Certificate; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Enumeration; import java.util.List; import java.util.Locale; +import java.util.logging.Level; +import java.util.logging.Logger; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.SSLSession; |