security: IdentityStorage::addKey publicKeyDer should be const.