Added private key/ public key methods

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>