Modifier and Type | Field and Description |
---|---|
protected Name |
Face.commandCertificateName_ |
Modifier and Type | Method and Description |
---|---|
Name |
Name.append(Blob value)
Append a new component, using the existing Blob value.
|
Name |
Name.append(byte[] value)
Append a new component, copying from value.
|
Name |
Name.append(Name.Component component)
Append the component to this name.
|
Name |
Name.append(Name name) |
Name |
Name.append(String value)
Convert the value to UTF8 bytes and append a Name.Component.
|
Name |
Name.appendSegment(long segment)
Append a component with the encoded segment number according to NDN
naming conventions for "Segment number" (marker 0x00).
|
Name |
Name.appendSegmentOffset(long segmentOffset)
Append a component with the encoded segment byte offset according to NDN
naming conventions for segment "Byte offset" (marker 0xFB).
|
Name |
Name.appendSequenceNumber(long sequenceNumber)
Append a component with the encoded sequence number according to NDN naming
conventions for "Sequencing" (marker 0xFE).
|
Name |
Name.appendTimestamp(long timestamp)
Append a component with the encoded timestamp according to NDN naming
conventions for "Timestamp" (marker 0xFC).
|
Name |
Name.appendVersion(long version)
Append a component with the encoded version number according to NDN
naming conventions for "Versioning" (marker 0xFD).
|
Name |
KeyLocator.getKeyName() |
Name |
ControlParameters.getName()
Get the name.
|
Name |
Interest.getName() |
Name |
Data.getName() |
Name |
DelegationSet.Delegation.getName()
Get the delegation name.
|
Name |
InterestFilter.getPrefix()
Get the prefix given to the constructor.
|
Name |
Name.getPrefix(int nComponents)
Return a new Name with the first nComponents components of this Name.
|
Name |
ControlParameters.getStrategy() |
Name |
Name.getSubName(int iStartComponent)
Get a new name, constructed as a subset of components starting at
iStartComponent until the end of the name.
|
Name |
Name.getSubName(int iStartComponent,
int nComponents)
Get a new name, constructed as a subset of components.
|
Name |
Name.getSuccessor()
Get the successor of this name which is defined as follows.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegationSet.add(int preference,
Name name)
Add a new DelegationSet.Delegation to the list of delegations, sorted by
preference number then by name.
|
Link |
Link.addDelegation(int preference,
Name name)
Add a new delegation to the list of delegations, sorted by
preference number then by name.
|
Link |
Link.addDelegation(int preference,
Name name,
WireFormat wireFormat)
Add a new delegation to the list of delegations, sorted by
preference number then by name.
|
void |
DelegationSet.addUnsorted(int preference,
Name name)
Add a new DelegationSet.Delegation to the end of the list of delegations,
without sorting or updating any existing entries.
|
Name |
Name.append(Name name) |
int |
Name.compare(int iStartComponent,
int nComponents,
Name other)
Compare a subset of this name to all of the other name, equivalent to
this.getSubName(iStartComponent, nComponents).compare(other).
|
int |
Name.compare(int iStartComponent,
int nComponents,
Name other,
int iOtherStartComponent)
Compare a subset of this name to a subset of the other name, equivalent to
this.getSubName(iStartComponent, nComponents).compare
(other.getSubName(iOtherStartComponent)), getting all components of other
from iOtherStartComponent to the end of the name.
|
int |
Name.compare(int iStartComponent,
int nComponents,
Name other,
int iOtherStartComponent,
int nOtherComponents)
Compare a subset of this name to a subset of the other name, equivalent to
this.getSubName(iStartComponent, nComponents).compare
(other.getSubName(iOtherStartComponent, nOtherComponents)).
|
int |
Name.compare(Name other)
Compare this to the other Name using NDN canonical ordering.
|
boolean |
InterestFilter.doesMatch(Name name)
Check if the given name matches this filter.
|
boolean |
Name.equals(Name name)
Check if this name has the same component count and components as the given
name.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData)
Encode name as an Interest.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
OnTimeout onTimeout)
Encode name as an Interest.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack)
Encode name as an Interest.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack,
WireFormat wireFormat)
Encode name as an Interest.
|
long |
ThreadPoolFace.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack,
WireFormat wireFormat)
Override to submit a task to use the thread pool given to the constructor.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
OnTimeout onTimeout,
WireFormat wireFormat)
Encode name as an Interest.
|
long |
Face.expressInterest(Name name,
Interest interestTemplate,
OnData onData,
WireFormat wireFormat)
Encode name as an Interest.
|
long |
Face.expressInterest(Name name,
OnData onData)
Encode name as an Interest, using a default interest lifetime.
|
long |
Face.expressInterest(Name name,
OnData onData,
OnTimeout onTimeout)
Encode name as an Interest, using a default interest lifetime.
|
long |
Face.expressInterest(Name name,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack)
Encode name as an Interest, using a default interest lifetime.
|
long |
Face.expressInterest(Name name,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack,
WireFormat wireFormat)
Encode name as an Interest, using a default interest lifetime.
|
long |
Face.expressInterest(Name name,
OnData onData,
OnTimeout onTimeout,
WireFormat wireFormat)
Encode name as an Interest, using a default interest lifetime.
|
long |
Face.expressInterest(Name name,
OnData onData,
WireFormat wireFormat)
Encode name as an Interest, using a default interest lifetime.
|
int |
DelegationSet.find(Name name)
Find the first delegation with the given name and return its index.
|
protected static Interest |
Face.getInterestCopy(Name name,
Interest interestTemplate)
Do the work of expressInterest to make an Interest based on name and
interestTemplate.
|
boolean |
Name.isPrefixOf(Name name)
Check if the N components of this name are the same as the first N
components of the given name.
|
boolean |
Name.match(Name name)
Check if the N components of this name are the same as the first N
components of the given name.
|
boolean |
Interest.matchesName(Name name)
Check if this Interest's name matches the given name (using Name.match)
and the given name also conforms to the interest selectors.
|
void |
OnInterestCallback.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter)
When an interest is received which matches the interest filter, onInterest
is called.
|
void |
OnInterest.onInterest(Name prefix,
Interest interest,
Transport transport,
long interestFilterId)
When an interest is received which matches the name prefix, onInterest is
called.
|
void |
OnRegisterFailed.onRegisterFailed(Name prefix)
If failed to retrieve the connected hub's ID or failed to register the
prefix, onRegisterFailed is called.
|
void |
OnRegisterSuccess.onRegisterSuccess(Name prefix,
long registeredPrefixId)
Face.registerPrefix calls onRegisterSuccess when it receives a success
message from the forwarder.
|
void |
Node.registerPrefix(long registeredPrefixId,
Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
ForwardingFlags flags,
WireFormat wireFormat,
KeyChain commandKeyChain,
Name commandCertificateName,
Face face)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
ForwardingFlags flags)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
ForwardingFlags flags,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
ThreadPoolFace.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
ForwardingFlags flags,
WireFormat wireFormat)
Submit a task to the thread pool to register prefix with the connected
forwarder and call onInterest when a matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, flags)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, flags, wireFormat)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, wireFormat)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterest onInterest,
OnRegisterFailed onRegisterFailed)
Deprecated.
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).
|
long |
Face.registerPrefix(Name prefix,
OnInterest onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags)
Deprecated.
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).
|
long |
Face.registerPrefix(Name prefix,
OnInterest onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat)
Deprecated.
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).
|
long |
Face.registerPrefix(Name prefix,
OnInterest onInterest,
OnRegisterFailed onRegisterFailed,
WireFormat wireFormat)
Deprecated.
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).
|
boolean |
DelegationSet.remove(Name name)
Remove every DelegationSet.Delegation with the given name.
|
boolean |
Link.removeDelegation(Name name)
Remove every delegation with the given name.
|
boolean |
Link.removeDelegation(Name name,
WireFormat wireFormat)
Remove every delegation with the given name.
|
void |
Face.setCommandCertificateName(Name certificateName)
Set the certificate name used to sign command interest (e.g.
|
void |
Face.setCommandSigningInfo(KeyChain keyChain,
Name certificateName)
Set the KeyChain and certificate name used to sign command interests
(e.g.
|
long |
Face.setInterestFilter(Name prefix,
OnInterestCallback onInterest)
Add an entry to the local interest filter table to call the onInterest
callback for a matching incoming Interest.
|
void |
KeyLocator.setKeyName(Name keyName) |
ControlParameters |
ControlParameters.setName(Name name)
Set the name.
|
Interest |
Interest.setName(Name name)
Set the interest name.
|
Data |
Data.setName(Name name)
Set name to a copy of the given Name.
|
ControlParameters |
ControlParameters.setStrategy(Name strategy)
Set the strategy to a copy of the given Name.
|
Constructor and Description |
---|
Data(Name name)
Create a new Data object with the given name and default values and where
the signature is a blank Sha256WithRsaSignature.
|
DelegationSet.Delegation(int preference,
Name name)
Create a new DelegationSet.Delegation with the given values.
|
Interest(Name name)
Create a new Interest with the given name and "none" for other values.
|
Interest(Name name,
double interestLifetimeMilliseconds)
Create a new Interest with the given name and interest lifetime and "none"
for other values.
|
InterestFilter(Name prefix)
Create an InterestFilter to match any Interest whose name starts with the
given prefix.
|
InterestFilter(Name prefix,
String regexFilter)
Create an InterestFilter to match any Interest whose name starts with the
given prefix and the remaining components match the regexFilter regular
expression as described in doesMatch.
|
Link(Name name)
Create a Link with the given name and default values and where the list of
delegations is empty and the meta info type is LINK.
|
Name(Name name)
Create a new Name with the components in the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
Tlv0_1_1WireFormat.decodeName(Name name,
ByteBuffer input)
Decode input as a name in NDN-TLV and set the fields of the Name object.
|
void |
WireFormat.decodeName(Name name,
ByteBuffer input)
Decode input as a name and set the fields of the Name object.
|
Blob |
Tlv0_1_1WireFormat.encodeName(Name name)
Encode name in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeName(Name name)
Encode name and return the encoding.
|
Modifier and Type | Method and Description |
---|---|
Name |
Producer.createContentKey(double timeSlot,
Producer.OnEncryptedKeys onEncryptedKeys)
Call the main createContentKey method where onError is defaultOnError.
|
Name |
Producer.createContentKey(double timeSlot,
Producer.OnEncryptedKeys onEncryptedKeys,
EncryptError.OnError onError)
Create the content key corresponding to the timeSlot.
|
Modifier and Type | Method and Description |
---|---|
void |
Consumer.addDecryptionKey(Name keyName,
Blob keyBlob)
Add a new decryption key with keyName and keyBlob to the database.
|
void |
Sqlite3ConsumerDb.addKey(Name keyName,
Blob keyBlob)
Add the key with keyName and keyBlob to the database.
|
abstract void |
ConsumerDb.addKey(Name keyName,
Blob keyBlob)
Add the key with keyName and keyBlob to the database.
|
void |
AndroidSqlite3ConsumerDb.addKey(Name keyName,
Blob keyBlob)
Add the key with keyName and keyBlob to the database.
|
abstract void |
GroupManagerDb.addMember(String scheduleName,
Name keyName,
Blob key)
Add a new member with the given key named keyName into a schedule named
scheduleName.
|
void |
AndroidSqlite3GroupManagerDb.addMember(String scheduleName,
Name keyName,
Blob key)
Add a new member with the given key named keyName into a schedule named
scheduleName.
|
void |
Sqlite3GroupManagerDb.addMember(String scheduleName,
Name keyName,
Blob key)
Add a new member with the given key named keyName into a schedule named
scheduleName.
|
void |
Consumer.consume(Name contentName,
Consumer.OnConsumeComplete onConsumeComplete,
EncryptError.OnError onError)
Express an Interest to fetch the content packet with contentName, and
decrypt it, fetching keys as needed.
|
abstract Data |
GroupManager.FriendAccess.createDKeyData(GroupManager groupManager,
String startTimeStamp,
String endTimeStamp,
Name keyName,
Blob privateKeyBlob,
Blob certificateKey) |
void |
Sqlite3ConsumerDb.deleteKey(Name keyName)
Delete the key with keyName from the database.
|
abstract void |
ConsumerDb.deleteKey(Name keyName)
Delete the key with keyName from the database.
|
void |
AndroidSqlite3ConsumerDb.deleteKey(Name keyName)
Delete the key with keyName from the database.
|
abstract void |
GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
void |
AndroidSqlite3GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
void |
Sqlite3GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
Blob |
Sqlite3ConsumerDb.getKey(Name keyName)
Get the key with keyName from the database.
|
abstract Blob |
ConsumerDb.getKey(Name keyName)
Get the key with keyName from the database.
|
Blob |
AndroidSqlite3ConsumerDb.getKey(Name keyName)
Get the key with keyName from the database.
|
abstract String |
GroupManagerDb.getMemberSchedule(Name identity)
Get the name of the schedule for the given member's identity name.
|
String |
AndroidSqlite3GroupManagerDb.getMemberSchedule(Name identity)
Get the name of the schedule for the given member's identity name.
|
String |
Sqlite3GroupManagerDb.getMemberSchedule(Name identity)
Get the name of the schedule for the given member's identity name.
|
abstract boolean |
GroupManagerDb.hasMember(Name identity)
Check if there is a member with the given identity name.
|
boolean |
AndroidSqlite3GroupManagerDb.hasMember(Name identity)
Check if there is a member with the given identity name.
|
boolean |
Sqlite3GroupManagerDb.hasMember(Name identity)
Check if there is a member with the given identity name.
|
void |
GroupManager.removeMember(Name identity)
Remove a member with the given identity name.
|
void |
Consumer.setGroup(Name groupName)
Set the group name.
|
abstract void |
GroupManagerDb.updateMemberSchedule(Name identity,
String scheduleName)
Change the name of the schedule for the given member's identity name.
|
void |
AndroidSqlite3GroupManagerDb.updateMemberSchedule(Name identity,
String scheduleName)
Change the name of the schedule for the given member's identity name.
|
void |
GroupManager.updateMemberSchedule(Name identity,
String scheduleName)
Change the name of the schedule for the given member's identity name.
|
void |
Sqlite3GroupManagerDb.updateMemberSchedule(Name identity,
String scheduleName)
Change the name of the schedule for the given member's identity name.
|
Constructor and Description |
---|
Consumer(Face face,
KeyChain keyChain,
Name groupName,
Name consumerName,
ConsumerDb database)
Create a Consumer to use the given ConsumerDb, Face and other values.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Encryptor.encryptData(Data data,
Blob payload,
Name keyName,
Blob key,
EncryptParams params)
Prepare an encrypted data packet by encrypting the payload using the key
according to the params.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegisteredPrefixTable.add(long registeredPrefixId,
Name prefix,
long relatedInterestFilterId)
Add a new entry to the table.
|
void |
PendingInterestTable.extractEntriesForExpressedInterest(Name name,
ArrayList<PendingInterestTable.Entry> entries)
Find all entries from the pending interest table where the name conforms to
the entry's interest selectors, remove the entries from the table, set each
entry's isRemoved flag, and add to the entries list.
|
Modifier and Type | Method and Description |
---|---|
Name |
KeyChain.createIdentity(Name identityName)
Deprecated.
Use createIdentityAndCertificate which returns the
certificate name instead of the key name.
|
Name |
KeyChain.createIdentity(Name identityName,
KeyParams params)
Deprecated.
Use createIdentityAndCertificate which returns the
certificate name instead of the key name.
|
Name |
KeyChain.createIdentityAndCertificate(Name identityName)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Name |
KeyChain.createIdentityAndCertificate(Name identityName,
KeyParams params)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName)
Generate a pair of ECDSA keys for the specified identity for a
Data-Signing-Key and default keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and default keySize
256.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity, using the default keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName)
Generate a pair of RSA keys for the specified identity for a
Data-Signing-Key and default keySize 2048.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and default keySize
2048.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 2048.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity, using the default keySize 2048.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity.
|
Name |
KeyChain.getDefaultCertificateName()
Get the default certificate name of the default identity.
|
Name |
KeyChain.getDefaultIdentity()
Get the default identity.
|
Modifier and Type | Method and Description |
---|---|
Name |
KeyChain.createIdentity(Name identityName)
Deprecated.
Use createIdentityAndCertificate which returns the
certificate name instead of the key name.
|
Name |
KeyChain.createIdentity(Name identityName,
KeyParams params)
Deprecated.
Use createIdentityAndCertificate which returns the
certificate name instead of the key name.
|
Name |
KeyChain.createIdentityAndCertificate(Name identityName)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Name |
KeyChain.createIdentityAndCertificate(Name identityName,
KeyParams params)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Blob |
KeyChain.createSigningRequest(Name keyName)
Create a public key signing request.
|
void |
KeyChain.deleteIdentity(Name identityName)
Delete the identity from the public and private key storage.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName)
Generate a pair of ECDSA keys for the specified identity for a
Data-Signing-Key and default keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and default keySize
256.
|
Name |
KeyChain.generateEcdsaKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity, using the default keySize 256.
|
Name |
KeyChain.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName)
Generate a pair of RSA keys for the specified identity for a
Data-Signing-Key and default keySize 2048.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and default keySize
2048.
|
Name |
KeyChain.generateRSAKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 2048.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity, using the default keySize 2048.
|
Name |
KeyChain.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity.
|
IdentityCertificate |
KeyChain.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
KeyChain.getIdentityCertificate(Name certificateName)
Deprecated.
Use getCertificate.
|
void |
KeyChain.revokeCertificate(Name certificateName)
Revoke a certificate.
|
void |
KeyChain.revokeKey(Name keyName)
Revoke a key.
|
void |
KeyChain.setDefaultKeyForIdentity(Name keyName)
Set a key as the default key of an identity.
|
void |
KeyChain.setDefaultKeyForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
Signature |
KeyChain.sign(ByteBuffer buffer,
Name certificateName)
Sign the byte buffer using a certificate name and return a Signature object.
|
void |
KeyChain.sign(Data data,
Name certificateName)
Wire encode the Data object, sign it and set its signature.
|
void |
KeyChain.sign(Data data,
Name certificateName,
WireFormat wireFormat)
Wire encode the Data object, sign it and set its signature.
|
void |
KeyChain.sign(Interest interest,
Name certificateName)
Append a SignatureInfo to the Interest name, sign the name components and
append a final name component with the signature bits.
|
void |
KeyChain.sign(Interest interest,
Name certificateName,
WireFormat wireFormat)
Append a SignatureInfo to the Interest name, sign the name components and
append a final name component with the signature bits.
|
Signature |
KeyChain.signByIdentity(ByteBuffer buffer,
Name identityName)
Sign the byte buffer using an identity name and return a Signature object.
|
void |
KeyChain.signByIdentity(Data data,
Name identityName)
Wire encode the Data object, sign it and set its signature.
|
void |
KeyChain.signByIdentity(Data data,
Name identityName,
WireFormat wireFormat)
Wire encode the Data object, sign it and set its signature.
|
Modifier and Type | Method and Description |
---|---|
static Name |
IdentityCertificate.certificateNameToPublicKeyName(Name certificateName)
Get the public key name from the full certificate name.
|
Name |
IdentityCertificate.getPublicKeyName() |
Modifier and Type | Method and Description |
---|---|
static Name |
IdentityCertificate.certificateNameToPublicKeyName(Name certificateName)
Get the public key name from the full certificate name.
|
Data |
IdentityCertificate.setName(Name name)
Override the base class method to check that the name is a valid identity certificate name.
|
Modifier and Type | Method and Description |
---|---|
Name |
IdentityManager.createIdentity(Name identityName,
KeyParams params)
Deprecated.
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.
|
Name |
IdentityManager.createIdentityAndCertificate(Name identityName,
KeyParams params)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Name |
IdentityManager.createIdentityCertificate(Name certificatePrefix,
Name signerCertificateName,
double notBefore,
double notAfter)
Create an identity certificate for a public key managed by this IdentityManager.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName)
Generate a pair of ECDSA keys for the specified identity for a
Data-Signing-Key and default keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and default keySize
256.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity, using the default keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName)
Generate a pair of RSA keys for the specified identity for a
Data-Signing-Key and default keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and default keySize
2048.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity, using the default keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity.
|
Name |
IdentityManager.getDefaultCertificateName()
Get the default certificate name of the default identity, which will be
used when signing is based on identity and the identity is not specified.
|
Name |
IdentityStorage.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity.
|
Name |
IdentityManager.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity, which will be
used when signing is performed based on identity.
|
Name |
BasicIdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
abstract Name |
IdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
AndroidSqlite3IdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
MemoryIdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
BasicIdentityStorage.getDefaultIdentity()
Get the default identity.
|
abstract Name |
IdentityStorage.getDefaultIdentity()
Get the default identity.
|
Name |
AndroidSqlite3IdentityStorage.getDefaultIdentity()
Get the default identity.
|
Name |
MemoryIdentityStorage.getDefaultIdentity()
Get the default identity.
|
Name |
IdentityManager.getDefaultIdentity()
Get the default identity.
|
Name |
IdentityManager.getDefaultKeyNameForIdentity()
Get the default key for an identity, inferred from the keyName.
|
Name |
BasicIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
abstract Name |
IdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
AndroidSqlite3IdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
MemoryIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
IdentityManager.getDefaultKeyNameForIdentity(Name identityName)
Get the default key for an identity.
|
Name |
IdentityStorage.getNewKeyName(Name identityName,
boolean useKsk)
Generate a name for a new key belonging to the identity.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
IdentityStorage.activateKey(Name keyName)
Activate a key.
|
void |
MemoryIdentityStorage.activateKey(Name keyName)
Activate a key.
|
void |
Sqlite3IdentityStorageBase.activateKey(Name keyName)
Activate a key.
|
void |
BasicIdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
abstract void |
IdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
void |
AndroidSqlite3IdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
void |
MemoryIdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
void |
BasicIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
abstract void |
IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
AndroidSqlite3IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
MemoryIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
protected void |
Sqlite3IdentityStorageBase.checkSetDefaultKeyNameForIdentity(Name keyName,
Name identityNameCheck)
Throw an exception if it is an error for setDefaultKeyNameForIdentity to
set it.
|
Name |
IdentityManager.createIdentity(Name identityName,
KeyParams params)
Deprecated.
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.
|
Name |
IdentityManager.createIdentityAndCertificate(Name identityName,
KeyParams params)
Create an identity by creating a pair of Key-Signing-Key (KSK) for this
identity and a self-signed certificate of the KSK.
|
Name |
IdentityManager.createIdentityCertificate(Name certificatePrefix,
Name signerCertificateName,
double notBefore,
double notAfter)
Create an identity certificate for a public key managed by this IdentityManager.
|
IdentityCertificate |
IdentityManager.createIdentityCertificate(Name certificatePrefix,
PublicKey publicKey,
Name signerCertificateName,
double notBefore,
double notAfter)
Create an identity certificate for a public key supplied by the caller.
|
abstract void |
IdentityStorage.deactivateKey(Name keyName)
Deactivate a key.
|
void |
MemoryIdentityStorage.deactivateKey(Name keyName)
Deactivate a key.
|
void |
Sqlite3IdentityStorageBase.deactivateKey(Name keyName)
Deactivate a key.
|
Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data)
Decrypt data using asymmetric encryption.
|
Blob |
FilePrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
abstract Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
Blob |
MemoryPrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
void |
BasicIdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
abstract void |
IdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
AndroidSqlite3IdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
MemoryIdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
IdentityManager.deleteIdentity(Name identityName)
Delete the identity from the public and private key storage.
|
void |
BasicIdentityStorage.deleteIdentityInfo(Name identityName)
Delete an identity and related public keys and certificates.
|
abstract void |
IdentityStorage.deleteIdentityInfo(Name identity)
Delete an identity and related public keys and certificates.
|
void |
AndroidSqlite3IdentityStorage.deleteIdentityInfo(Name identityName)
Delete an identity and related public keys and certificates.
|
void |
MemoryIdentityStorage.deleteIdentityInfo(Name identity)
Delete an identity and related public keys and certificates.
|
void |
FilePrivateKeyStorage.deleteKey(Name keyName)
Delete a key by name; checks all KeyClass types
|
void |
FilePrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
abstract void |
PrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
void |
MemoryPrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
void |
BasicIdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
abstract void |
IdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
void |
AndroidSqlite3IdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
void |
MemoryIdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
boolean |
BasicIdentityStorage.doesCertificateExist(Name certificateName)
Check if the specified certificate already exists.
|
abstract boolean |
IdentityStorage.doesCertificateExist(Name certificateName)
Check if the specified certificate already exists.
|
boolean |
AndroidSqlite3IdentityStorage.doesCertificateExist(Name certificateName)
Check if the specified certificate already exists.
|
boolean |
MemoryIdentityStorage.doesCertificateExist(Name certificateName)
Check if the specified certificate already exists.
|
boolean |
BasicIdentityStorage.doesIdentityExist(Name identityName)
Check if the specified identity already exists.
|
abstract boolean |
IdentityStorage.doesIdentityExist(Name identityName)
Check if the specified identity already exists.
|
boolean |
AndroidSqlite3IdentityStorage.doesIdentityExist(Name identityName)
Check if the specified identity already exists.
|
boolean |
MemoryIdentityStorage.doesIdentityExist(Name identityName)
Check if the specified identity already exists.
|
boolean |
BasicIdentityStorage.doesKeyExist(Name keyName)
Check if the specified key already exists.
|
abstract boolean |
IdentityStorage.doesKeyExist(Name keyName)
Check if the specified key already exists.
|
boolean |
AndroidSqlite3IdentityStorage.doesKeyExist(Name keyName)
Check if the specified key already exists.
|
boolean |
MemoryIdentityStorage.doesKeyExist(Name keyName)
Check if the specified key already exists.
|
boolean |
FilePrivateKeyStorage.doesKeyExist(Name keyName,
KeyClass keyClass)
Check if a particular key exists.
|
abstract boolean |
PrivateKeyStorage.doesKeyExist(Name keyName,
KeyClass keyClass)
Check if a particular key exists.
|
boolean |
MemoryPrivateKeyStorage.doesKeyExist(Name keyName,
KeyClass keyClass)
Check if a particular key exists.
|
Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data)
Encrypt data using asymmetric encryption.
|
Blob |
FilePrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
abstract Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Blob |
MemoryPrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName)
Generate a pair of ECDSA keys for the specified identity for a
Data-Signing-Key and default keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and default keySize
256.
|
Name |
IdentityManager.generateEcdsaKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity, using the default keySize 256.
|
Name |
IdentityManager.generateEcdsaKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of ECDSA keys for the specified identity and set it as
default key for the identity.
|
void |
FilePrivateKeyStorage.generateKey(Name keyName,
KeyParams params)
Generate a symmetric key.
|
abstract void |
PrivateKeyStorage.generateKey(Name keyName,
KeyParams params)
Generate a symmetric key.
|
void |
MemoryPrivateKeyStorage.generateKey(Name keyName,
KeyParams params)
Generate a symmetric key.
|
void |
FilePrivateKeyStorage.generateKeyPair(Name keyName,
KeyParams params)
Generate a pair of asymmetric keys.
|
abstract void |
PrivateKeyStorage.generateKeyPair(Name keyName,
KeyParams params)
Generate a pair of asymmetric keys.
|
void |
MemoryPrivateKeyStorage.generateKeyPair(Name keyName,
KeyParams params)
Generate a pair of asymmetric keys.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName)
Generate a pair of RSA keys for the specified identity for a
Data-Signing-Key and default keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and default keySize
2048.
|
Name |
IdentityManager.generateRSAKeyPair(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity for a Data-Signing-Key and using the default
keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity, using the default keySize 2048.
|
Name |
IdentityManager.generateRSAKeyPairAsDefault(Name identityName,
boolean isKsk,
int keySize)
Generate a pair of RSA keys for the specified identity and set it as
default key for the identity.
|
void |
BasicIdentityStorage.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
abstract void |
IdentityStorage.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
void |
AndroidSqlite3IdentityStorage.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
void |
MemoryIdentityStorage.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
void |
IdentityManager.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
void |
BasicIdentityStorage.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity to the nameList.
|
abstract void |
IdentityStorage.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity to the nameList.
|
void |
AndroidSqlite3IdentityStorage.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity to the nameList.
|
void |
MemoryIdentityStorage.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity to the nameList.
|
void |
IdentityManager.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity to the nameList.
|
IdentityCertificate |
BasicIdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
abstract IdentityCertificate |
IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
AndroidSqlite3IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
MemoryIdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
IdentityManager.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
Name |
IdentityStorage.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity.
|
Name |
IdentityManager.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity, which will be
used when signing is performed based on identity.
|
Name |
BasicIdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
abstract Name |
IdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
AndroidSqlite3IdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
MemoryIdentityStorage.getDefaultCertificateNameForKey(Name keyName)
Get the default certificate name for the specified key.
|
Name |
BasicIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
abstract Name |
IdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
AndroidSqlite3IdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
MemoryIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
Name |
IdentityManager.getDefaultKeyNameForIdentity(Name identityName)
Get the default key for an identity.
|
Blob |
BasicIdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
abstract Blob |
IdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Blob |
AndroidSqlite3IdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Blob |
MemoryIdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Name |
IdentityStorage.getNewKeyName(Name identityName,
boolean useKsk)
Generate a name for a new key belonging to the identity.
|
PublicKey |
FilePrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
abstract PublicKey |
PrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
MemoryPrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
IdentityManager.getPublicKey(Name keyName)
Get the public key with the specified name.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription)
Use the keyName to get the public key from the identity storage and
prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription,
Name certPrefix)
Use the keyName to get the public key from the identity storage and
prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription)
Prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription,
Name certPrefix)
Prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.selfSign(Name keyName)
Generate a self-signed certificate for a public key.
|
void |
BasicIdentityStorage.setDefaultCertificateNameForKey(Name keyName,
Name certificateName)
Set the default key name for the specified identity.
|
abstract void |
IdentityStorage.setDefaultCertificateNameForKey(Name keyName,
Name certificateName)
Set the default key name for the specified identity.
|
void |
AndroidSqlite3IdentityStorage.setDefaultCertificateNameForKey(Name keyName,
Name certificateName)
Set the default key name for the specified identity.
|
void |
MemoryIdentityStorage.setDefaultCertificateNameForKey(Name keyName,
Name certificateName)
Set the default key name for the specified identity.
|
void |
BasicIdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
abstract void |
IdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
AndroidSqlite3IdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
MemoryIdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
IdentityManager.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
IdentityManager.setDefaultKeyForIdentity(Name keyName)
Set a key as the default key of an identity.
|
void |
IdentityManager.setDefaultKeyForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
void |
IdentityStorage.setDefaultKeyNameForIdentity(Name keyName)
Set the default key name for the specified identity.
|
void |
BasicIdentityStorage.setDefaultKeyNameForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
abstract void |
IdentityStorage.setDefaultKeyNameForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
void |
AndroidSqlite3IdentityStorage.setDefaultKeyNameForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
void |
MemoryIdentityStorage.setDefaultKeyNameForIdentity(Name keyName,
Name identityNameCheck)
Set a key as the default key of an identity.
|
void |
MemoryPrivateKeyStorage.setKeyPairForKeyName(Name keyName,
ByteBuffer publicKeyDer,
ByteBuffer privateKeyDer)
Deprecated.
Use setKeyPairForKeyName(keyName, KeyType.RSA, publicKeyDer, privateKeyDer).
|
void |
MemoryPrivateKeyStorage.setKeyPairForKeyName(Name keyName,
KeyType keyType,
ByteBuffer publicKeyDer,
ByteBuffer privateKeyDer)
Set the public and private key for the keyName.
|
void |
MemoryPrivateKeyStorage.setPrivateKeyForKeyName(Name keyName,
KeyType keyType,
ByteBuffer privateKeyDer)
Set the private key for the keyName.
|
void |
MemoryPrivateKeyStorage.setPublicKeyForKeyName(Name keyName,
KeyType keyType,
ByteBuffer publicKeyDer)
Set the public key for the keyName.
|
Blob |
PrivateKeyStorage.sign(ByteBuffer data,
Name keyName)
Fetch the private key for keyName and sign the data using
DigestAlgorithm.SHA256, returning a signature Blob.
|
Blob |
FilePrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
abstract Blob |
PrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
Blob |
MemoryPrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
Signature |
IdentityManager.signByCertificate(ByteBuffer buffer,
Name certificateName)
Sign the byte array data based on the certificate name.
|
void |
IdentityManager.signByCertificate(Data data,
Name certificateName)
Sign data packet based on the certificate name.
|
void |
IdentityManager.signByCertificate(Data data,
Name certificateName,
WireFormat wireFormat)
Sign data packet based on the certificate name.
|
void |
IdentityManager.signInterestByCertificate(Interest interest,
Name certificateName,
WireFormat wireFormat)
Append a SignatureInfo to the Interest name, sign the name components and
append a final name component with the signature bits.
|
protected void |
BasicIdentityStorage.updateKeyStatus(Name keyName,
boolean isActive)
In table Key, set 'active' to isActive for the keyName.
|
protected void |
AndroidSqlite3IdentityStorage.updateKeyStatus(Name keyName,
boolean isActive)
In table Key, set 'active' to isActive for the keyName.
|
protected abstract void |
Sqlite3IdentityStorageBase.updateKeyStatus(Name keyName,
boolean isActive)
In table Key, set 'active' to isActive for the keyName.
|
Modifier and Type | Method and Description |
---|---|
Name |
SelfVerifyPolicyManager.inferSigningIdentity(Name dataName)
Override to indicate that the signing identity cannot be inferred.
|
Name |
ConfigPolicyManager.inferSigningIdentity(Name dataName)
Infer the signing identity name according to the policy.
|
Name |
NoVerifyPolicyManager.inferSigningIdentity(Name dataName)
Override to indicate that the signing identity cannot be inferred.
|
abstract Name |
PolicyManager.inferSigningIdentity(Name dataName)
Infer the signing identity name according to the policy.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ConfigPolicyManager.FriendAccess.checkSignatureMatch(ConfigPolicyManager policyManager,
Name signatureName,
Name objectName,
BoostInfoTree rule) |
boolean |
SelfVerifyPolicyManager.checkSigningPolicy(Name dataName,
Name certificateName)
Override to always indicate that the signing certificate name and data name
satisfy the signing policy.
|
boolean |
ConfigPolicyManager.checkSigningPolicy(Name dataName,
Name certificateName)
Override to always indicate that the signing certificate name and data name
satisfy the signing policy.
|
boolean |
NoVerifyPolicyManager.checkSigningPolicy(Name dataName,
Name certificateName)
Override to always indicate that the signing certificate name and data name
satisfy the signing policy.
|
abstract boolean |
PolicyManager.checkSigningPolicy(Name dataName,
Name certificateName)
Check if the signing certificate name and data name satisfy the signing
policy.
|
void |
CertificateCache.deleteCertificate(Name certificateName)
Remove a certificate from the cache.
|
abstract BoostInfoTree |
ConfigPolicyManager.FriendAccess.findMatchingRule(ConfigPolicyManager policyManager,
Name objName,
String matchType) |
IdentityCertificate |
CertificateCache.getCertificate(Name certificateName)
Fetch a certificate from the cache.
|
Name |
SelfVerifyPolicyManager.inferSigningIdentity(Name dataName)
Override to indicate that the signing identity cannot be inferred.
|
Name |
ConfigPolicyManager.inferSigningIdentity(Name dataName)
Infer the signing identity name according to the policy.
|
Name |
NoVerifyPolicyManager.inferSigningIdentity(Name dataName)
Override to indicate that the signing identity cannot be inferred.
|
abstract Name |
PolicyManager.inferSigningIdentity(Name dataName)
Infer the signing identity name according to the policy.
|
Modifier and Type | Method and Description |
---|---|
void |
ChronoSync2013.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter)
Process the sync interest from the applicationBroadcastPrefix.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static Matcher |
NdnRegexMatcher.match(String pattern,
Name name)
Determine if the provided NDN regex matches the given Name.
|
void |
MemoryContentCache.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter) |
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name matches the filter.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound,
ForwardingFlags flags)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound,
ForwardingFlags flags,
WireFormat wireFormat)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
OnInterestCallback onDataNotFound)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
OnInterestCallback onDataNotFound,
ForwardingFlags flags)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
OnInterestCallback onDataNotFound,
ForwardingFlags flags,
WireFormat wireFormat)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.setInterestFilter(Name prefix)
Call setInterestFilter on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.setInterestFilter(Name prefix,
OnInterestCallback onDataNotFound)
Call setInterestFilter on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
Copyright © 2016. All rights reserved.