go-sample-webpage/vendor/github.com/lestrrat-go/jwx/jwk/es256k.go

14 lines
243 B
Go
Raw Normal View History

2021-11-04 01:14:51 +00:00
// +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)
}