OAEP and PSS support

Added OAEP and PSS support, plus minor fixes