Versions in this module Expand all Collapse all v1 v1.0.1 Jan 31, 2024 v1.0.0 Jan 31, 2024 Changes in this version + var KeyPath string + func ParsePrivateKey(keyBuffer []byte) (*rsa.PrivateKey, error) + func ParsePublicKey(keyBuffer []byte) (*rsa.PublicKey, error) + func Setup() + func Teardown() + type CommonClaims struct + Message string + type KeyConf struct + PrivateKey string + PublicKey string + type KeyKeeper struct + func (k *KeyKeeper) GetPrivateKey() (*rsa.PrivateKey, error) + func (k *KeyKeeper) GetPublicKey() (*rsa.PublicKey, error) + func (k *KeyKeeper) Load() error + type MsgSigner struct + func NewMsgSigner() *MsgSigner + func (s *MsgSigner) Init() + func (s *MsgSigner) Sign(issuer string, subject string, audience []string, msg string, ...) (string, error) + func (s *MsgSigner) Verify(tokenStr string) (string, error)