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

Bug: 1199744
Change-Id: Ibea0d8f03e99532a74c93ca7e01658a6c1fe1386
Commit-Queue: David Benjamin <>
Commit-Queue: Adam Langley <>
Auto-Submit: David Benjamin <>
Reviewed-by: Adam Langley <>
Reviewed-by: Sorin Jianu <>
Reviewed-by: Ryan Sleevi <>
Cr-Commit-Position: refs/heads/master@{#874000}
GitOrigin-RevId: 9d8f726904d147e7b771f37a0b2c092626a43a53
7 files changed