]> Cypherpunks repositories - gostls13.git/commit
crypto,crypto/x509: implement MessageSigner
authorRoland Shoemaker <roland@golang.org>
Mon, 3 Mar 2025 20:31:55 +0000 (12:31 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 8 May 2025 14:46:12 +0000 (07:46 -0700)
commit509c11f3a39aeb627cc16dc9ffcad45fc457c5ec
tree15d0f78ce808866f2d72c06b4054140579c6d710
parentd000963d045bb279d347dbd3551e9468422c17af
crypto,crypto/x509: implement MessageSigner

And use it in crypto/x509. This allows people to implement single-shot
signers which do the hashing themselves.

Fixes #63405

Change-Id: I038c2e10f77b050b6136c4c0a5b031cb416f59aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/654375
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
api/next/63405.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/crypto/63405.md [new file with mode: 0644]
doc/next/6-stdlib/99-minor/crypto/x509/63405.md [new file with mode: 0644]
src/crypto/crypto.go
src/crypto/crypto_test.go [new file with mode: 0644]
src/crypto/x509/x509.go
src/crypto/x509/x509_test.go