crypto/x509.VerifyOptions.Roots (field)
12 uses
crypto/x509 (current package)
verify.go#L187: Roots *CertPool
verify.go#L769: if opts.Roots == nil && (systemPool == nil || systemPool.systemPool) {
verify.go#L772: if opts.Roots != nil && opts.Roots.systemPool {
verify.go#L777: if err == nil || opts.Roots.len() == 0 {
verify.go#L783: if opts.Roots == nil {
verify.go#L784: opts.Roots = systemRootsPool()
verify.go#L785: if opts.Roots == nil {
verify.go#L803: if opts.Roots.contains(c) {
verify.go#L942: for _, root := range opts.Roots.findPotentialParents(c) {
crypto/tls
handshake_client.go#L983: Roots: c.config.RootCAs,
handshake_server.go#L887: Roots: c.config.ClientCAs,
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |