Standard library / crypto/x509

crypto/x509.ExtKeyUsageNetscapeServerGatedCrypto

Extended key usage identifier for historical Netscape server-gated cryptography. Include in a usage slice; it is not a bitmask. Expected stdout: '11\n'.

Formal Syntax & Structure

go syntaxgo
const ExtKeyUsageNetscapeServerGatedCrypto ExtKeyUsage = 11

Working Example

Example Snippetgo
package main
import (  "crypto/x509"  "fmt")
func main() { fmt.Println(int(x509.ExtKeyUsageNetscapeServerGatedCrypto)) }
func must[T any](v T, e error) T {  if e != nil {    panic(e)  }  return v}func check(e error) {  if e != nil {    panic(e)  }}
Go Reference