go-sample-webpage/vendor/github.com/lestrrat-go/jwx/jwk/es256k.go
2021-11-04 02:14:51 +01:00

13 lines
243 B
Go

// +build jwx_es256k
package jwk
import (
"github.com/decred/dcrd/dcrec/secp256k1/v4"
"github.com/lestrrat-go/jwx/internal/ecutil"
"github.com/lestrrat-go/jwx/jwa"
)
func init() {
ecutil.RegisterCurve(secp256k1.S256(), jwa.Secp256k1)
}