security: bug fixing
security: bug fixing

1. it should be Info::addPublicKey rather than Tpm::addPublicKey
2. we do not need to refreshDefaultCertificate after setDefaultKeyNameForIdentity() which has already refresh the default certificate.

Change-Id: I73d0798544124f7198416a9b14bb4fd9ff8ef2b0

cawka/packaging-ndn-cpp-dev,cawka/packaging-ndn-cpp-dev,cawka/packaging-ndn-cpp-dev,cawka/packaging-ndn-cpp-dev