mirror of https://github.com/golang-jwt/jwt.git
documentation fix
This commit is contained in:
parent
652b4be28c
commit
bcec7fbe47
4
rsa.go
4
rsa.go
|
@ -42,8 +42,8 @@ func (m *SigningMethodRSA) Alg() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implements the Verify method from SigningMethod
|
// Implements the Verify method from SigningMethod
|
||||||
// For this signing method, must be either a PEM encoded PKCS1 or PKCS8 RSA private key as
|
// For this signing method, must be either a PEM encoded PKCS1 or PKCS8 RSA public key as
|
||||||
// []byte, or an rsa.PrivateKey structure.
|
// []byte, or an rsa.PublicKey structure.
|
||||||
func (m *SigningMethodRSA) Verify(signingString, signature string, key interface{}) error {
|
func (m *SigningMethodRSA) Verify(signingString, signature string, key interface{}) error {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue