crypto/x509.VerifyOptions.Roots (field)
13 uses
crypto/x509 (current package)
verify.go#L188: Roots *CertPool
verify.go#L777: if opts.Roots == nil && (systemPool == nil || systemPool.systemPool) {
verify.go#L780: if opts.Roots != nil && opts.Roots.systemPool {
verify.go#L785: if err == nil || opts.Roots.len() == 0 {
verify.go#L791: if opts.Roots == nil {
verify.go#L792: opts.Roots = systemRootsPool()
verify.go#L793: if opts.Roots == nil {
verify.go#L811: if opts.Roots.contains(c) {
verify.go#L960: for _, root := range opts.Roots.findPotentialParents(c) {
crypto/tls
handshake_client.go#L1100: Roots: c.config.RootCAs,
handshake_client.go#L1118: Roots: c.config.RootCAs,
handshake_server.go#L903: Roots: c.config.ClientCAs,
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |