type SigningMethodRSA … var SigningMethodRS256 … var SigningMethodRS384 … var SigningMethodRS512 … func init() { … } func (m *SigningMethodRSA) Alg() string { … } // Verify implements token verification for the SigningMethod // For this signing method, must be an *rsa.PublicKey structure. func (m *SigningMethodRSA) Verify(signingString, signature string, key interface{ … } // Sign implements token signing for the SigningMethod // For this signing method, must be an *rsa.PrivateKey structure. func (m *SigningMethodRSA) Sign(signingString string, key interface{ … }