diff options
author | Makoto Onuki <omakoto@google.com> | 2010-01-08 13:34:57 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2010-01-12 10:27:13 -0800 |
commit | 8f028a94fc533e75077485a7d11a04e4de820335 (patch) | |
tree | 318a2faf102a12a01aaaae4e25567fe7a841c936 /preloaded-classes | |
parent | aee3c6394a367abf283936cb8b8bd85ed028c050 (diff) | |
download | frameworks_base-8f028a94fc533e75077485a7d11a04e4de820335.zip frameworks_base-8f028a94fc533e75077485a7d11a04e4de820335.tar.gz frameworks_base-8f028a94fc533e75077485a7d11a04e4de820335.tar.bz2 |
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.
Diffstat (limited to 'preloaded-classes')
-rw-r--r-- | preloaded-classes | 1 |
1 files changed, 0 insertions, 1 deletions
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 |