diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-02-27 15:22:51 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-02-27 15:22:51 +0100 |
commit | 3c532dd5e1844e0f094e2ae7555b1f65a2fd106f (patch) | |
tree | 999c31ee428c7686acfb4c7fbc4d28a1a5aa141f /libtransport/includes/hicn/transport/security | |
parent | bd8380012c308a79861e2e52919e9ff6326d45dc (diff) |
[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport/includes/hicn/transport/security')
-rw-r--r-- | libtransport/includes/hicn/transport/security/identity.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libtransport/includes/hicn/transport/security/identity.h b/libtransport/includes/hicn/transport/security/identity.h index c5d4b975d..a575af134 100644 --- a/libtransport/includes/hicn/transport/security/identity.h +++ b/libtransport/includes/hicn/transport/security/identity.h @@ -18,8 +18,6 @@ #include <hicn/transport/security/crypto_suite.h> #include <hicn/transport/security/signer.h> -#include <core/manifest_format.h> - extern "C" { #include <parc/security/parc_Identity.h> #include <parc/security/parc_IdentityFile.h> @@ -40,7 +38,7 @@ class Identity { Identity(const Identity &other); Identity(std::string &file_name, std::string &password, - transport::core::HashAlgorithm hash_algorithm); + utils::CryptoHashType hash_algorithm); ~Identity(); @@ -57,7 +55,7 @@ class Identity { private: PARCIdentity *identity_; std::shared_ptr<Signer> signer_; - transport::core::HashAlgorithm hash_algorithm_; + utils::CryptoHashType hash_algorithm_; }; } // namespace utils |