| Package | Description |
|---|---|
| net.named_data.jndn | |
| net.named_data.jndn.encrypt | |
| net.named_data.jndn.security | |
| net.named_data.jndn.sync | |
| net.named_data.jndn.sync.detail | |
| net.named_data.jndn.util |
| Modifier and Type | Field and Description |
|---|---|
protected KeyChain |
Face.commandKeyChain_ |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.registerPrefix(long registeredPrefixId,
Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
RegistrationOptions registrationOptions,
WireFormat wireFormat,
KeyChain commandKeyChain,
Name commandCertificateName,
Face face)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
void |
Face.setCommandSigningInfo(KeyChain keyChain,
Name certificateName)
Set the KeyChain and certificate name used to sign command interests
(e.g.
|
| Constructor and Description |
|---|
AccessManagerV2(PibIdentity identity,
Name dataset,
KeyChain keyChain,
Face face)
Create an AccessManagerV2 to serve the NAC public key for other data
producers to fetch, and to serve encrypted versions of the private keys
(as safe bags) for authorized consumers to fetch.
|
Consumer(Face face,
KeyChain keyChain,
Name groupName,
Name consumerName,
ConsumerDb database)
Create a Consumer to use the given ConsumerDb, Face and other values.
|
Consumer(Face face,
KeyChain keyChain,
Name groupName,
Name consumerName,
ConsumerDb database,
Link cKeyLink,
Link dKeyLink)
Create a Consumer to use the given ConsumerDb, Face and other values.
|
DecryptorV2(PibKey credentialsKey,
Validator validator,
KeyChain keyChain,
Face face)
Create a DecryptorV2 with the given parameters.
|
EncryptorV2(Name accessPrefix,
Name ckPrefix,
SigningInfo ckDataSigningInfo,
EncryptError.OnError onError,
Validator validator,
KeyChain keyChain,
Face face)
Create an EncryptorV2 with the given parameters.
|
GroupManager(Name prefix,
Name dataType,
GroupManagerDb database,
int keySize,
int freshnessHours,
KeyChain keyChain)
Create a group manager with the given values.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database)
Create a Producer to use the given ProducerDb, Face and other values.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database,
int repeatAttempts)
Create a Producer to use the given ProducerDb, Face and other values.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database,
int repeatAttempts,
Link keyRetrievalLink)
Create a Producer to use the given ProducerDb, Face and other values.
|
| Constructor and Description |
|---|
CommandInterestSigner(KeyChain keyChain)
Create a CommandInterestSigner to use the keyChain to sign.
|
| Constructor and Description |
|---|
ChronoSync2013(ChronoSync2013.OnReceivedSyncState onReceivedSyncState,
ChronoSync2013.OnInitialized onInitialized,
Name applicationDataPrefix,
Name applicationBroadcastPrefix,
long sessionNo,
Face face,
KeyChain keyChain,
Name certificateName,
double syncLifetime,
OnRegisterFailed onRegisterFailed)
Create a new ChronoSync2013 to communicate using the given face.
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain)
Create a FullPSync2017, where syncInterestLifetime is
DEFAULT_SYNC_INTEREST_LIFETIME, syncReplyFreshnessPeriod is
DEFAULT_SYNC_REPLY_FRESHNESS_PERIOD and signingInfo is the default
SigningInfo().
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod)
Create a FullPSync2017, where signingInfo is the default SigningInfo().
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo)
Create a FullPSync2017.
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo,
FullPSync2017.CanAddToSyncData canAddToSyncData,
FullPSync2017.CanAddReceivedName canAddReceivedName)
Create a FullPSync2017.
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain)
Create a FullPSync2017WithUsers, where syncInterestLifetime is
FullPSync2017.DEFAULT_SYNC_INTEREST_LIFETIME, syncReplyFreshnessPeriod is
FullPSync2017.DEFAULT_SYNC_REPLY_FRESHNESS_PERIOD, and signingInfo is the
default SigningInfo().
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod)
Create a FullPSync2017WithUsers, where signingInfo is the default
SigningInfo().
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo)
Create a FullPSync2017WithUsers.
|
| Constructor and Description |
|---|
PSyncSegmentPublisher(Face face,
KeyChain keyChain)
Create a PSyncSegmentPublisher where inMemoryStorageLimit is
MAX_SEGMENTS_STORED.
|
PSyncSegmentPublisher(Face face,
KeyChain keyChain,
int inMemoryStorageLimit)
Create a PSyncSegmentPublisher.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
KeyChain validatorKeyChain,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError) |
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.Options options,
KeyChain validatorKeyChain,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError)
Initiate segment fetching.
|
void |
CommandInterestGenerator.generate(Interest interest,
KeyChain keyChain,
Name certificateName)
Append a timestamp component and a random value component to interest's
name.
|
void |
CommandInterestGenerator.generate(Interest interest,
KeyChain keyChain,
Name certificateName,
WireFormat wireFormat)
Append a timestamp component and a random value component to interest's
name.
|
Copyright © 2019. All rights reserved.