Merge pull request #1641 from alex/public-key-example

Include an example of loading a public key