Project

General

Profile

Feature #3964

Updated by Muktadir Chowdhury about 7 years ago

NLSR is Many unit-tests are using a lot of deprecated methods/ classes from security::v1 (which now KeyChain::signByIdentity(), which is announced deprecated). Below is a list of deprecated methods/ classes that NLSR is using: 

 - Mehtods 
   - signByIdentity() 
   - signWithSha256() 
   - sign(T& packet, const Name& certificateName) in hello-protocol.cpp:109 ; deprecated.  
 https://github.com/named-data/ndn-cxx/blob/574aa86e88168e812fe7c40c3a42ab82eada68bd/src/security/v1/key-chain.hpp#L335. 
 - Classes 
   - IdentityCertificate 
   - CertificateSubjectDescription 

 This methods and classes We should be replaced replace them with their v2::security's counterpart. 

 KeyChain::sign(T&, const SigningInfo&)

Back