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).
Class ndn::ForwardingEntry
This is for NDNx. Install NFD and use Face.setCommandSigningInfo with registerPrefix.
Member ndn::ForwardingEntry::getFreshnessSeconds () const
Use getFreshnessPeriod.
Member ndn::ForwardingEntry::setFreshnessSeconds (int freshnessSeconds)
Use setFreshnessPeriod.
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::getAnswerOriginKind () const
Use getMustBeFresh.
Member ndn::Interest::getPublisherPublicKeyDigest ()
. The Interest publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
Member ndn::Interest::getPublisherPublicKeyDigest () const
. The Interest publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
Member ndn::Interest::Interest (const Name &name, int minSuffixComponents, int maxSuffixComponents, const PublisherPublicKeyDigest &publisherPublicKeyDigest, const Exclude &exclude, int childSelector, int answerOriginKind, int scope, Milliseconds interestLifetimeMilliseconds, const Blob &nonce)
This constructor sets the nonce which is deprecated because you should let let the wire encoder generate a random nonce internally before sending the interest. This has PublisherPublicKeyDigest. Use KeyLocator. This also has answerOriginKind. Use setMustBeFresh().
Member ndn::Interest::Interest (const Name &name, int minSuffixComponents, int maxSuffixComponents, const PublisherPublicKeyDigest &publisherPublicKeyDigest, const Exclude &exclude, int childSelector, int answerOriginKind, int scope, Milliseconds interestLifetimeMilliseconds)
This has PublisherPublicKeyDigest. Use KeyLocator. This also has answerOriginKind. Use setMustBeFresh().
Member ndn::Interest::Interest (const Name &name, int minSuffixComponents, int maxSuffixComponents, const KeyLocator &keyLocator, const Exclude &exclude, int childSelector, int answerOriginKind, int scope, Milliseconds interestLifetimeMilliseconds)
This has answerOriginKind. Use setMustBeFresh().
Member ndn::Interest::setAnswerOriginKind (int answerOriginKind)
Use setMustBeFresh.
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::KeyLocator::getKeyNameType () const
The use of a digest attached to the KeyName is deprecated. KEY_LOCATOR_DIGEST is supported as a keyLocatorType.
Member ndn::KeyLocator::setKeyNameType (ndn_KeyNameType keyNameType)
The use of a digest attached to the KeyName is deprecated. If you need a publisher public key digest, set the keyLocatorType to KEY_LOCATOR_DIGEST and set the key data to the digest.
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 uint8_t *value, size_t valueLength)
Use append.
Member ndn::Name::addComponent (const std::vector< uint8_t > &value)
Use append.
Member ndn::Name::addComponent (const Blob &value)
Use append.
Member ndn::Name::appendComponent (const uint8_t *value, size_t valueLength)
Use append.
Member ndn::Name::appendComponent (const std::vector< uint8_t > &value)
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::Sha256WithRsaSignature::getDigestAlgorithm () const
digestAlgorithm is deprecated.
Member ndn::Sha256WithRsaSignature::getPublisherPublicKeyDigest () const
. The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
Member ndn::Sha256WithRsaSignature::getPublisherPublicKeyDigest ()
. The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
Member ndn::Sha256WithRsaSignature::getWitness () const
Witness is deprecated.
Member ndn::Sha256WithRsaSignature::setDigestAlgorithm (const Blob &digestAlgorithm)
digestAlgorithm is deprecated.
Member ndn::Sha256WithRsaSignature::setPublisherPublicKeyDigest (const PublisherPublicKeyDigest &publisherPublicKeyDigest)
. The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
Member ndn::Sha256WithRsaSignature::setWitness (const Blob &witness)
Witness is deprecated.
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.
Member ndn_Interest::publisherPublicKeyDigest
.
Member ndn_KeyLocator::keyNameType
The use of a digest attached to the KeyName is deprecated.
Member ndn_Signature::publisherPublicKeyDigest
.