Standard library / crypto/x509

crypto/x509.ExtKeyUsageMicrosoftKernelCodeSigning

Extended key usage identifier for Microsoft kernel code signing. Include in a usage slice; it is not a bitmask. Expected stdout: '13\n'.

Formal Syntax & Structure

go syntaxgo
const ExtKeyUsageMicrosoftKernelCodeSigning ExtKeyUsage = 13

Working Example

Example Snippetgo
package main
import (  "crypto/x509"  "fmt")
func main() { fmt.Println(int(x509.ExtKeyUsageMicrosoftKernelCodeSigning)) }
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