Task #2920
closedReplace SecPublicInfo with Pib
0%
Description
With PibSqlite3 is implemented, we can now replace SecPublicInfo with Pib.
We need a KeyChain method to return reference of Pib. However, Current KeyChain::getPib() returns a SecPublicInfo reference. We propose to use KeyChain::Pib() for now, and then deprecate KeyChain::getPib(), and then change KeyChain::getPib() to return Pib ref
Updated by Yingdi Yu almost 9 years ago
I will try ndn-cxx-breaks first to see the impact of changing return type.
Updated by Junxiao Shi almost 9 years ago
What would be the behavior of the SecPublicInfo
object returned from KeyChain::getPib
method? There shouldn't be two concurrent PIBs.
Is it a wrapper over the Pib
object?
Updated by Yingdi Yu almost 9 years ago
Junxiao Shi wrote:
What would be the behavior of the
SecPublicInfo
object returned fromKeyChain::getPib
method? There shouldn't be two concurrent PIBs.
No, therefore, it will throw exception...
Is it a wrapper over the
Pib
object?
No...
Updated by Junxiao Shi almost 9 years ago
Since SecPublicInfo
is no longer working, this change is backwards-incompatible.
I suggest putting it into the feature branch together with #2306 and perhaps Validator changes, so that applications only need to change once.
Updated by Alex Afanasyev over 7 years ago
- Status changed from New to Abandoned
This semi-not applicable, semi-finished. The v2::KeyChain is using Pib interface, v1::KeyChain that use SecPublicInfo is deprecated and will be removed soon.