Deprecated List
Member ndn::Blob::Blob (const ptr_lib::shared_ptr< std::vector< uint8_t > > &value)
Use the constructor with an explicit copy parameter.
Member ndn::Exclude::addAny ()
Use appendAny.
Member ndn::Exclude::addComponent (uint8_t *component, size_t componentLength)
Use appendComponent.
Member ndn::Exclude::getEntry (size_t i) const
Use get(i).
Member ndn::Exclude::getEntryCount () const
Use size().
Member ndn::Face::registerPrefix (const Name &prefix, const OnInterest &onInterest, const OnRegisterFailed &onRegisterFailed, const ForwardingFlags &flags=ForwardingFlags(), WireFormat &wireFormat=*WireFormat::getDefaultWireFormat())
Use registerPrefix where onInterest is an OnInterestCallback (which is passed this Face for calling putData) instead of the deprecated OnInterest (which is passed a Transport object).
Member ndn::IdentityManager::createIdentity (const Name &identityName, const KeyParams &params)
Use createIdentityAndCertificate which returns the certificate name instead of the key name. You can use IdentityCertificate.certificateNameToPublicKeyName to convert the certificate name to the key name.
Parameters
identityNameThe name of the identity.
paramsThe key parameters if a key needs to be generated for the identity.
Returns
The key name of the auto-generated KSK of the identity.
Member ndn::Interest::setNonce (const Blob &nonce)
You should let the wire encoder generate a random nonce internally before sending the interest.
Member ndn::KeyChain::createIdentity (const Name &identityName, const KeyParams &params=DEFAULT_KEY_PARAMS)
Use createIdentityAndCertificate which returns the certificate name instead of the key name. You can use IdentityCertificate.certificateNameToPublicKeyName to convert the certificate name to the key name.
Parameters
identityNameThe name of the identity.
params(optional) The key parameters if a key needs to be generated for the identity. If omitted, use DEFAULT_KEY_PARAMS.
Returns
The key name of the auto-generated KSK of the identity.
Member ndn::KeyChain::getIdentityCertificate (const Name &certificateName)
Use getCertificate.
Member ndn::MemoryPrivateKeyStorage::setKeyPairForKeyName (const Name &keyName, const uint8_t *publicKeyDer, size_t publicKeyDerLength, const uint8_t *privateKeyDer, size_t privateKeyDerLength)
Use setKeyPairForKeyName(keyName, KEY_TYPE_RSA, publicKeyDer, publicKeyDerLength, privateKeyDer, privateKeyDerLength).
Member ndn::MemoryPrivateKeyStorage::setPrivateKeyForKeyName (const Name &keyName, const uint8_t *privateKeyDer, size_t privateKeyDerLength)
Use setPrivateKeyForKeyName(keyName, KEY_TYPE_RSA, privateKeyDer, privateKeyDerLength).
Member ndn::MemoryPrivateKeyStorage::setPublicKeyForKeyName (const Name &keyName, const uint8_t *publicKeyDer, size_t publicKeyDerLength)
Use setPublicKeyForKeyName(keyName, KEY_TYPE_RSA, publicKeyDer, publicKeyDerLength).
Member ndn::MetaInfo::getFinalBlockID () const
Use getFinalBlockId.
Member ndn::MetaInfo::getFreshnessSeconds () const
Use getFreshnessPeriod.
Member ndn::MetaInfo::getTimestampMilliseconds () const
Use the application-specific content to store a timestamp.
Member ndn::MetaInfo::setFinalBlockID (const Name::Component &finalBlockId)
Use setFinalBlockId.
Member ndn::MetaInfo::setFreshnessSeconds (int freshnessSeconds)
Use setFreshnessPeriod.
Member ndn::MetaInfo::setTimestampMilliseconds (MillisecondsSince1970 timestampMilliseconds)
Use the application-specific content to store a timestamp.
Member ndn::Name::addComponent (const Blob &value)
Use append.
Member ndn::Name::addComponent (const uint8_t *value, size_t valueLength)
Use append.
Member ndn::Name::addComponent (const std::vector< uint8_t > &value)
Use append.
Member ndn::Name::appendComponent (const std::vector< uint8_t > &value)
Use append.
Member ndn::Name::appendComponent (const uint8_t *value, size_t valueLength)
Use append.
Member ndn::Name::appendComponent (const Blob &value)
Use append.
Member ndn::Name::appendFinalSegment (uint64_t segment)
. Use MetaInfo.setFinalBlockId.
Class ndn::Name::BreadthFirstLess
Not needed since Name defines operator < .
Member ndn::Name::breadthFirstLess (const Name &name1, const Name &name2)
Use operator < .
Member ndn::Name::Component::getFinalSegmentPrefix ()
. Use MetaInfo.getFinalBlockId.
Member ndn::Name::Component::getFinalSegmentPrefixLength ()
. Use MetaInfo.getFinalBlockId.
Member ndn::Name::Component::isFinalSegment () const
. Use MetaInfo.getFinalBlockId.
Member ndn::Name::Component::toFinalSegment () const
. Use MetaInfo.getFinalBlockId.
Member ndn::Name::Component::toSeqNum () const
Use toSegment.
Member ndn::Name::getComponent (size_t i) const
Use get(i).
Member ndn::Name::getComponentCount () const
use size().
Member ndn::Name::to_uri () const
Use toUri().
Member ndn::OnInterest
Use OnInterestCallback.
Member ndn::SignedBlob::SignedBlob (const ptr_lib::shared_ptr< std::vector< uint8_t > > &value, size_t signedPortionBeginOffset, size_t signedPortionEndOffset)
Use the constructor with an explicit copy parameter.