From 8f028a94fc533e75077485a7d11a04e4de820335 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Fri, 8 Jan 2010 13:34:57 -0800 Subject: Moved DomainNameChecker to android common. - Moved DomainNameChecker from android.net.http to android common, and renamed to DomainNameValidator. - Added a simplified version of DNParser, which DomainNameValidator uses instead of X509Name in order to extract Subject Name from a certificate. - Added unit tests for DomainNameChecker and DNParser. There's a suspicious comment in DomainNameChecker saying something like "X509Certificate fails to parse a certificate when a subject alt name begins with '*'". I think we should fix it if it's really the case -- otherwise certificates with the wildcard wouldn't work. I'll see if it's true after submitting this patch. --- preloaded-classes | 1 - 1 file changed, 1 deletion(-) (limited to 'preloaded-classes') diff --git a/preloaded-classes b/preloaded-classes index ddcecc9..ec4d74c 100644 --- a/preloaded-classes +++ b/preloaded-classes @@ -225,7 +225,6 @@ android.net.Uri$PathPart android.net.Uri$PathSegments android.net.Uri$StringUri android.net.WebAddress -android.net.http.DomainNameChecker android.net.http.CertificateChainValidator android.net.http.EventHandler android.net.http.HttpsConnection -- cgit v1.1