summaryrefslogtreecommitdiff
path: root/libs/utils/Unicode.cpp
diff options
context:
space:
mode:
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
commit831f258fd91a1e85fc59aea88a3e26e57d6c40d9 (patch)
tree3870e77f24d875c74f6db4d5de77cf63be37e04c /libs/utils/Unicode.cpp
parent40d851cc47e140fada6a69f4506e42f747dec802 (diff)
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 'libs/utils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions