Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KID_NOT_FOUND = errors.New("Key not found to verify the token") EXPONENT_NOT_SUPPORTED = errors.New("The exponent for key is not supported yet") )
Functions ¶
This section is empty.
Types ¶
type IbmJwksManager ¶
func NewIbmJwksManager ¶
func NewIbmJwksManager() IbmJwksManager
func (*IbmJwksManager) Init ¶
func (manager *IbmJwksManager) Init()
func (*IbmJwksManager) Stop ¶
func (manager *IbmJwksManager) Stop()
func (*IbmJwksManager) VerifySig ¶
func (manager *IbmJwksManager) VerifySig(kid, content, signature string) error
kid: key identifier; content: hash input string; signature: the signature of the hash of content Return error if signature verification fails
Click to show internal directories.
Click to hide internal directories.