Versions in this module Expand all Collapse all v0 deprecated v0.9.1 Dec 6, 2021 Changes in this version + 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)