From bcec7fbe473a5d2029e09ac20b81cef590730bad Mon Sep 17 00:00:00 2001 From: Dave Grijalva Date: Tue, 26 Aug 2014 14:25:13 -0700 Subject: [PATCH] documentation fix --- rsa.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsa.go b/rsa.go index 4b546b9..44e69c1 100644 --- a/rsa.go +++ b/rsa.go @@ -42,8 +42,8 @@ func (m *SigningMethodRSA) Alg() string { } // Implements the Verify method from SigningMethod -// For this signing method, must be either a PEM encoded PKCS1 or PKCS8 RSA private key as -// []byte, or an rsa.PrivateKey structure. +// For this signing method, must be either a PEM encoded PKCS1 or PKCS8 RSA public key as +// []byte, or an rsa.PublicKey structure. func (m *SigningMethodRSA) Verify(signingString, signature string, key interface{}) error { var err error