Merge pull request #63 from demsey/security

SMAdapter: add methods for CAVV/AAV calculation and verification.
Added preliminary PGP support