crypto/x509.VerifyOptions.KeyUsages (field)
6 uses
crypto/x509 (current package)
verify.go#L196: KeyUsages []ExtKeyUsage
verify.go#L812: if len(opts.KeyUsages) == 0 {
verify.go#L813: opts.KeyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
verify.go#L816: for _, eku := range opts.KeyUsages {
verify.go#L826: if checkChainForKeyUsage(candidate, opts.KeyUsages) {
crypto/tls
handshake_server.go#L890: KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
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. |