checkSignature