summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2010-01-08 13:34:57 -0800
committerMakoto Onuki <omakoto@google.com>2010-01-12 10:27:13 -0800
commit8f028a94fc533e75077485a7d11a04e4de820335 (patch)
tree318a2faf102a12a01aaaae4e25567fe7a841c936 /services
parentaee3c6394a367abf283936cb8b8bd85ed028c050 (diff)
downloadframeworks_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 'services')
0 files changed, 0 insertions, 0 deletions