Versions in this module Expand all Collapse all v4 v4.0.0 Apr 30, 2021 Changes in this version + var ErrInvalidKey = errors.New("key is invalid") + var ErrKmsVerification = errors.New("kms: verification error") + func DisableCache(k *KMSJWT) + type KMSJWT struct + func New(client kmsiface.KMSAPI, kmsKeyID string, opts ...Option) *KMSJWT + func (k *KMSJWT) Alg() string + func (k *KMSJWT) Sign(signingString string, key interface{}) (string, error) + func (k *KMSJWT) Verify(signingString, stringSignature string, key interface{}) error + type Option func(*KMSJWT) + func WithAlgorithm(algorithm string) Option + func WithCleanupInterval(cleanupInterval time.Duration) Option + func WithDefaultExpiration(defaultExpiration time.Duration) Option + func WithSigningAlgorithm(algorighm string) Option Other modules containing this package github.com/marcinwyszynski/kmsjwt github.com/marcinwyszynski/kmsjwt/v2 github.com/marcinwyszynski/kmsjwt/v3