Implement getAlgorithm() and getEncoding() methods.
Fix test coverage for wrapped key encoding.
Merge pull request #2 from serac/issue-1

Implement encoding for wrapped keys.