Well, you have to understand that J2ME is very limited and has very few helpful tools for what you wish to do.. If any.. So I think you have to write the whole communication with the vpn yourself. There are some Certificate that might help you somewhat in the encryption bit but the rest of the handshakes and so on must be done by yourself..
So what I am saying is that there is no VPN api in J2ME done for you.
Sorry
Cheers
Kenth Fagerlund
Message was edited by:
Kenth_Fagerlund (Final touch)
Even if there were certificates (bouncycastle api my help here):
PPTP: is not possible: it does not use IP, and therefore you cannot implement anything for it
IPSEC: lays on top of IP. J2me will only offer TCP/IP, or some also do UDP. So no luck there either.
Only possibility it to make your own VPN stuff..
Now, this is worth dollars :)