Versions in this module Expand all Collapse all v0 v0.9.0 May 20, 2019 Changes in this version + var HMACSignFuncs = map[jwa.SignatureAlgorithm]hmacSignFunc + type ECDSASigner struct + func (s ECDSASigner) Algorithm() jwa.SignatureAlgorithm + func (s ECDSASigner) Sign(payload []byte, key interface{}) ([]byte, error) + type HMACSigner struct + func (s HMACSigner) Algorithm() jwa.SignatureAlgorithm + func (s HMACSigner) Sign(payload []byte, key interface{}) ([]byte, error) + type RSASigner struct + func (s RSASigner) Algorithm() jwa.SignatureAlgorithm + func (s RSASigner) Sign(payload []byte, key interface{}) ([]byte, error) + type Signer interface + Algorithm func() jwa.SignatureAlgorithm + Sign func(payload []byte, key interface{}) ([]byte, error) + func New(alg jwa.SignatureAlgorithm) (Signer, error)