Adding REST API and internal API methods for PublicKey resource
Merge pull request #53 from computmaxer/public_key_api

Adding REST API and internal API methods for PublicKey resource