In preparation for implementing the V3 spec changes, we add the
necessary signing and key generation classes for the new request
signing algorithm
In order to support this change we modify the
ECPrivateKey::ExportRawPublicKey function to correctly include
the leading byte as specified in RFC 5480 Section 2.2.
Bug: 1202232
Change-Id: I92c2517a36ff7a66ed803a75a86963a4c2c5006d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2845411
Reviewed-by: Filip Gorski <fgorski@chromium.org>
Reviewed-by: David Van Cleve <davidvc@chromium.org>
Reviewed-by: Alice Gong <alicego@google.com>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Alice Gong <alicego@google.com>
Cr-Commit-Position: refs/heads/master@{#889082}