summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorWilliam Luh <williamluh@google.com>2013-11-19 01:20:45 +0000
committerWilliam Luh <williamluh@google.com>2013-11-19 01:20:45 +0000
commit635011173ebaa6cc35d1fca82276197cad866ba2 (patch)
tree5f5572c94db3afd85a0e8d8402e6897f1fabe789 /core/java/android
parent60b96502b39d221afb43ff7e8a49a19a2fb3c2e0 (diff)
Revert "Expose new API for querying whether a certificate was user added."
This reverts commit 60b96502b39d221afb43ff7e8a49a19a2fb3c2e0. Change-Id: Ie1c2ee4c983c4d6b0c086f252a191b3c60e50b9c
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/net/http/X509TrustManagerExtensions.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/android/net/http/X509TrustManagerExtensions.java b/core/java/android/net/http/X509TrustManagerExtensions.java
index 025b3c4441ba..cfe5f27b9e86 100644
--- a/core/java/android/net/http/X509TrustManagerExtensions.java
+++ b/core/java/android/net/http/X509TrustManagerExtensions.java
@@ -63,17 +63,4 @@ public class X509TrustManagerExtensions {
String host) throws CertificateException {
return mDelegate.checkServerTrusted(chain, authType, host);
}
-
- /**
- * Checks whether a CA certificate is added by an user.
- *
- * <p>Since {@link checkServerTrusted} allows its parameter {@link chain} to chain up to user-
- * added CA certificates, this method can be used to perform additional policies for user-added
- * CA certificates.
- *
- * @return true to indicate that the certificate was added by the user, false otherwise.
- */
- public boolean isUserAddedCertificate(X509Certificate cert) {
- return mDelegate.isUserAddedCertificate(cert);
- }
}