crypto/x509.VerifyOptions.KeyUsages (field)
6 uses
crypto/x509 (current package)
verify.go#L197: KeyUsages []ExtKeyUsage
verify.go#L820: if len(opts.KeyUsages) == 0 {
verify.go#L821: opts.KeyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
verify.go#L824: for _, eku := range opts.KeyUsages {
verify.go#L834: if checkChainForKeyUsage(candidate, opts.KeyUsages) {
crypto/tls
handshake_server.go#L906: KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
![]() |
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. |