Add a function for validating a DER-encoded INTEGER.
commit6a9b7cbc41c4a6fe809d3e7f4765f251c0429371
authoreroman <eroman@chromium.org>
Tue, 18 Aug 2015 23:51:50 +0000 (18 16:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 23:52:34 +0000 (18 23:52 +0000)
tree7525be8ea2bb0bfbd19df635a462fefec5309e46
parent351f5ebaf9a3a0635c4f11996ef83d63ce66a9ad
Add a function for validating a DER-encoded INTEGER.

This also modifies der::ParseUint64() to support the full uint64_t range.

BUG=410574

Review URL: https://codereview.chromium.org/1295943002

Cr-Commit-Position: refs/heads/master@{#344081}
net/der/parse_values.cc
net/der/parse_values.h
net/der/parse_values_unittest.cc