552e9d568fde9701ea1944fb01c8aadaceaa7353
Some current uses of OCSP require extensions. In particular, Certificate Transparency (RFC 6962) can use an OCSP extension to carry a Signed Certificate Timestamp. This patch adds support for OCSP extensions (in particular, singleExtensions), by adding Extensions and ExtraExtensions fields with the same semantics as in x509.Certificate. As a side-effect, trying to parse a response with a critical extension will now return an error, just like parsing a certificate. This change does not enable extensions in OCSP requests, just responses. Change-Id: I5918f26ea1bb9d1ece96e85a6bb7691c7c017467 Reviewed-on: https://go-review.googlesource.com/18202 Reviewed-by: Adam Langley <agl@golang.org>
This repository holds supplementary Go cryptography libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
8.1 MiB
Languages
Go
88.6%
Assembly
11.1%
C
0.3%