jwt/rs256.go

18 lines
334 B
Go
Raw Normal View History

2012-04-18 03:49:21 +04:00
package jwt
type SigningMethodRS256 struct {
}
func init() {
RegisterSigningMethod("RS256", func() SigningMethod {
return new(SigningMethodRS256)
})
}
2012-04-18 03:58:52 +04:00
func (m *SigningMethodRS256) Verify(signingString, signature string, key []byte)error {
return nil
}
func (m *SigningMethodRS256) Sign(token, key []byte)error {
return nil
}