Encrypt certificate reports before uploading to HTTP URLs
This CL introduces a new protobuf to store encrypted
CertLoggerRequests. Serialized certificate reports are encrypted with an
AES-CTR-128-HMAC-SHA256 AEAD (from BoringSSL, thus encrypted reports are
only supported on BoringSSL platforms) before being uploaded to HTTP
endpoints. |CertificateErrorReporter::IsHttpUploadUrlSupported| allows
users of the class to set an HTTP URL if supported.
BUG=
461590
Committed:
https://crrev.com/0a3351c2a7c81284f82e6531380a21d079f55056
Cr-Commit-Position: refs/heads/master@{#326876}
Committed:
https://crrev.com/03206a1fcfe475604570d49dca0a885591e45ad7
Cr-Commit-Position: refs/heads/master@{#326957}