documentation fix

This commit is contained in:
Dave Grijalva 2014-08-26 14:25:13 -07:00
parent 652b4be28c
commit bcec7fbe47
1 changed files with 2 additions and 2 deletions

4
rsa.go
View File

@ -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