go/src/crypto
Roland Shoemaker 04d6aa6514 crypto/x509: implement SetFallbackRoots
Adds a method which allows users to set a fallback certificate pool for
usage during verification if the system certificate pool is empty.

Updates #43958

Change-Id: I279dd2f753743bce19790f2ae29f063c89c9359d
Reviewed-on: https://go-review.googlesource.com/c/go/+/449235
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2022-11-18 23:57:10 +00:00
..
aes crypto/aes: rewrite ppc64le asm-cbc routine 2022-11-14 18:47:51 +00:00
boring crypto/internal/boring: update to newer boringcrypto, add arm64 2022-08-18 21:28:09 +00:00
cipher crypto: use bytes.Clone 2022-09-28 03:55:33 +00:00
des all: add missing periods in comments 2022-11-18 17:59:44 +00:00
dsa crypto/dsa,crypto/x509: deprecate DSA and remove crypto/x509 support 2020-10-02 10:48:33 +00:00
ecdh crypto/ecdh: move ECDH method to PrivateKey 2022-11-16 14:37:29 +00:00
ecdsa crypto/ecdsa: improve benchmarks 2022-11-18 00:08:48 +00:00
ed25519 crypto/ed25519: implement Ed25519ph in Sign and VerifyWithOptions 2022-10-24 12:11:20 +00:00
elliptic crypto/ecdh: new package 2022-08-12 00:03:39 +00:00
hmac all: boringcrypto post-merge cleanup 2022-06-06 19:10:07 +00:00
internal all: add missing periods in comments 2022-11-18 17:59:44 +00:00
md5 crypto: use encoding append functions 2022-09-20 02:58:09 +00:00
rand all: remove uses of rand.Seed 2022-10-26 16:24:57 +00:00
rc4 crypto/internal/subtle: rename to crypto/internal/alias 2022-08-17 18:46:05 +00:00
rsa crypto/rsa: return err when key too small to compute salt for RSA PSS 2022-11-15 20:28:49 +00:00
sha1 all: remove redundant type conversion 2022-10-06 04:37:00 +00:00
sha256 crypto/sha256, cmd/internal/notsha256: improve PPC64 sha256 2022-10-21 13:29:47 +00:00
sha512 all: remove redundant type conversion 2022-10-06 04:37:00 +00:00
subtle crypto/subtle: add XORBytes 2022-08-17 18:47:33 +00:00
tls crypto/tls: add CertificateVerificationError to tls handshake 2022-11-18 18:50:57 +00:00
x509 crypto/x509: implement SetFallbackRoots 2022-11-18 23:57:10 +00:00
crypto.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
issue21104_test.go