you still don't understand that you should use your original code?
the only difference is in setup() where you should initialize enc28j60 instead of WiFi STA. the rest is same. same library, same secure layer. everything is same only at the low level it is not sent over radio but over the cable.