security: Support ECDSA verification in all related classes.
This commit also addresses some old issues, such as "using namespace std".
Change-Id: I62b8ff97fb2b6f6cfe04b0ad5866bc0797e6e43b
Refs: #1660
diff --git a/src/security/certificate-subject-description.cpp b/src/security/certificate-subject-description.cpp
index 86ab52d..60f7dbb 100644
--- a/src/security/certificate-subject-description.cpp
+++ b/src/security/certificate-subject-description.cpp
@@ -29,14 +29,12 @@
#include "cryptopp.hpp"
-using namespace std;
-using namespace CryptoPP;
-
namespace ndn {
void
CertificateSubjectDescription::encode(CryptoPP::BufferedTransformation& out) const
{
+ using namespace CryptoPP;
// RelativeDistinguishedName ::=
// SET OF AttributeTypeAndValue
//
@@ -58,6 +56,7 @@
void
CertificateSubjectDescription::decode(CryptoPP::BufferedTransformation& in)
{
+ using namespace CryptoPP;
// RelativeDistinguishedName ::=
// SET OF AttributeTypeAndValue
//