diff options
| author | 2010-01-08 13:34:57 -0800 | |
|---|---|---|
| committer | 2010-01-12 10:27:13 -0800 | |
| commit | 8f028a94fc533e75077485a7d11a04e4de820335 (patch) | |
| tree | 318a2faf102a12a01aaaae4e25567fe7a841c936 /libs/rs/rsProgramFragment.cpp | |
| parent | aee3c6394a367abf283936cb8b8bd85ed028c050 (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/rs/rsProgramFragment.cpp')
0 files changed, 0 insertions, 0 deletions