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