Standard library / crypto/x509
crypto/x509.ECDSAWithSHA256
Signature algorithm identifier ECDSAWithSHA256. An identifier is not proof of signature validity or support in every protocol. Expected stdout: '10\n'.
Formal Syntax & Structure
go syntaxgo
const ECDSAWithSHA256 SignatureAlgorithm = 10Working Example
Example Snippetgo
package main
import ( "crypto/x509" "fmt")
func main() { fmt.Println(int(x509.ECDSAWithSHA256)) }
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) }}