Parse UID fields correctly in our various certificate parsers.

Ideally we'd reuse the main certificate parser, but some of that blocks
on moving to BoringSSL for dependency reasons. Others I've split into
https://crbug.com/1199845.

Bug: 1199744
Change-Id: Ibea0d8f03e99532a74c93ca7e01658a6c1fe1386
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2830476
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: Adam Langley <agl@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Ryan Sleevi <rsleevi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874000}
GitOrigin-RevId: 9d8f726904d147e7b771f37a0b2c092626a43a53
7 files changed