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