| Modifier and Type | Field and Description |
|---|---|
protected Name |
Face.commandCertificateName_ |
| Modifier and Type | Method and Description |
|---|---|
Name |
Name.append(Blob value)
Append a new GENERIC component, using the existing Blob value.
|
Name |
Name.append(Blob value,
ComponentType type)
Append a new component of the given type, using the existing Blob value.
|
Name |
Name.append(Blob value,
ComponentType type,
int otherTypeCode)
Append a new component of the given type, using the existing Blob value.
|
Name |
Name.append(byte[] value)
Append a new GENERIC component, copying from value.
|
Name |
Name.append(byte[] value,
ComponentType type)
Append a new component of the given type, copying from value.
|
Name |
Name.append(byte[] value,
ComponentType type,
int otherTypeCode)
Append a new component of the given type, 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 GENERIC Name.Component.
|
Name |
Name.append(String value,
ComponentType type)
Convert the value to UTF8 bytes and append a Name.Component of the given
type.
|
Name |
Name.append(String value,
ComponentType type,
int otherTypeCode)
Convert the value to UTF8 bytes and append a Name.Component of the given
type.
|
Name |
Name.appendImplicitSha256Digest(Blob digest)
Append a component of type ImplicitSha256DigestComponent, so that
isImplicitSha256Digest() is true.
|
Name |
Name.appendImplicitSha256Digest(byte[] digest)
Append a component of type ImplicitSha256DigestComponent, so that
isImplicitSha256Digest() is true.
|
Name |
Name.appendNumber(long number)
Append a component whose value is the nonNegativeInteger encoding of the
number.
|
Name |
Name.appendNumber(long number,
ComponentType type)
Append a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
Name |
Name.appendNumber(long number,
ComponentType type,
int otherTypeCode)
Append a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
Name |
Name.appendParametersSha256Digest(Blob digest)
Append a component of type ParametersSha256DigestComponent, so that
isParametersSha256Digest() is true.
|
Name |
Name.appendParametersSha256Digest(byte[] digest)
Append a component of type ParametersSha256DigestComponent, so that
isParametersSha256Digest() is true.
|
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 |
Data.getFullName()
Get the Data packet's full name, which includes the final
ImplicitSha256Digest component based on the wire encoding for the default
wire format.
|
Name |
Data.getFullName(WireFormat wireFormat)
Get the Data packet's full name, which includes the final
ImplicitSha256Digest component based on the wire encoding for a particular
wire format.
|
Name |
KeyLocator.getKeyName() |
Name |
DelegationSet.Delegation.getName()
Get the delegation name.
|
Name |
ControlParameters.getName()
Get the name.
|
Name |
Data.getName() |
Name |
Interest.getName() |
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 |
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,
OnNetworkNack onNetworkNack,
WireFormat wireFormat)
Encode name as an Interest.
|
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 |
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,
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.
|
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,
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,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
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,
RegistrationOptions registrationOptions,
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,
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,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
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,
RegistrationOptions registrationOptions)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, registrationOptions)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, registrationOptions, 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.
|
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.
|
Data |
Data.setName(Name name)
Set name to a copy of the given Name.
|
Interest |
Interest.setName(Name name)
Set the interest 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.
|
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 |
|---|---|
static Name |
ProtobufTlv.toName(com.google.protobuf.Message nameMessage)
Return a Name made from the component array in a Protobuf message object,
assuming that it was defined with "repeated bytes".
|
| Modifier and Type | Method and Description |
|---|---|
void |
WireFormat.decodeName(Name name,
ByteBuffer input)
Decode input as a name and set the fields of the Name object.
|
void |
Tlv0_2WireFormat.decodeName(Name name,
ByteBuffer input,
boolean copy)
Decode input as a name in NDN-TLV and set the fields of the Name object.
|
void |
WireFormat.decodeName(Name name,
ByteBuffer input,
boolean copy)
Decode input as a name and set the fields of the Name object.
|
Blob |
Tlv0_2WireFormat.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.
|
Name |
EncryptedContent.getKeyLocatorName()
Check that the key locator type is KEYNAME and return the key Name.
|
| 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 |
Sqlite3GroupManagerDb.addEKey(Name eKeyName,
Blob publicKey,
Blob privateKey)
Add the EKey with name eKeyName to the database.
|
void |
AndroidSqlite3GroupManagerDb.addEKey(Name eKeyName,
Blob publicKey,
Blob privateKey)
Add the EKey with name eKeyName to the database.
|
abstract void |
GroupManagerDb.addEKey(Name eKeyName,
Blob publicKey,
Blob privateKey)
Add the EKey with name eKeyName 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.
|
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 |
AndroidSqlite3GroupManagerDb.addMember(String scheduleName,
Name keyName,
Blob key)
Add a new member with the given key named keyName into a schedule named
scheduleName.
|
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 |
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.
|
void |
Consumer.consume(Name contentName,
Consumer.OnConsumeComplete onConsumeComplete,
EncryptError.OnError onError,
Link link)
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 |
Sqlite3GroupManagerDb.deleteEKey(Name eKeyName)
Delete the EKey with name eKeyName from the database.
|
void |
AndroidSqlite3GroupManagerDb.deleteEKey(Name eKeyName)
Delete the EKey with name eKeyName from the database.
|
abstract void |
GroupManagerDb.deleteEKey(Name eKeyName)
Delete the EKey with name eKeyName from the database.
|
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.
|
void |
Sqlite3GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
void |
AndroidSqlite3GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
abstract void |
GroupManagerDb.deleteMember(Name identity)
Delete a member with the given identity name.
|
void |
Sqlite3GroupManagerDb.getEKey(Name eKeyName,
Blob[] publicKey,
Blob[] privateKey)
Get the group key pair with the name eKeyName from the database.
|
void |
AndroidSqlite3GroupManagerDb.getEKey(Name eKeyName,
Blob[] publicKey,
Blob[] privateKey)
Get the group key pair with the name eKeyName from the database.
|
abstract void |
GroupManagerDb.getEKey(Name eKeyName,
Blob[] publicKey,
Blob[] privateKey)
Get the group key pair with the name eKeyName from the database.
|
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.
|
String |
Sqlite3GroupManagerDb.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.
|
abstract String |
GroupManagerDb.getMemberSchedule(Name identity)
Get the name of the schedule for the given member's identity name.
|
boolean |
Sqlite3GroupManagerDb.hasEKey(Name eKeyName)
Check if there is an EKey with the name eKeyName in the database.
|
boolean |
AndroidSqlite3GroupManagerDb.hasEKey(Name eKeyName)
Check if there is an EKey with the name eKeyName in the database.
|
abstract boolean |
GroupManagerDb.hasEKey(Name eKeyName)
Check if there is an EKey with the name eKeyName in the database.
|
boolean |
Sqlite3GroupManagerDb.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.
|
abstract boolean |
GroupManagerDb.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.
|
EncryptedContent |
EncryptedContent.setKeyLocatorName(Name keyName)
Set the key locator type to KeyLocatorType.KEYNAME and set the key Name.
|
void |
Sqlite3GroupManagerDb.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.
|
abstract void |
GroupManagerDb.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.
|
| 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.
|
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.
|
| 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.
|
| 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 a security v1 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 a security v1 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 the
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 the
default key for the identity.
|
Name |
KeyChain.getDefaultCertificateName()
Get the default certificate name of the default identity.
|
Name |
KeyChain.getDefaultIdentity()
Get the default identity.
|
static Name |
SigningInfo.getDigestSha256Identity()
Get the localhost identity which indicates that the signature is generated
using SHA-256.
|
Name |
SigningInfo.getSignerName()
Get the name of signer.
|
| 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 a security v1 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 a security v1 identity by creating a pair of Key-Signing-Key (KSK)
for this identity and a self-signed certificate of the KSK.
|
PibIdentity |
KeyChain.createIdentityV2(Name identityName)
Create a security V2 identity for identityName.
|
PibIdentity |
KeyChain.createIdentityV2(Name identityName,
KeyParams params)
Create a security V2 identity for identityName.
|
Blob |
KeyChain.createSigningRequest(Name keyName)
Create a public key signing request.
|
void |
KeyChain.deleteCertificate(PibKey key,
Name certificateName)
Delete the certificate with the given name from the given key.
|
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 the
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 the
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.
|
Interest |
CommandInterestSigner.makeCommandInterest(Name name)
Call the main makeCommandInterest where the signing params is the default
SigningInfo() and wireFormat is WireFormat.getDefaultWireFormat() .
|
Interest |
CommandInterestSigner.makeCommandInterest(Name name,
SigningInfo params)
Call the main makeCommandInterest where wireFormat is
WireFormat.getDefaultWireFormat() .
|
Interest |
CommandInterestSigner.makeCommandInterest(Name name,
SigningInfo params,
WireFormat wireFormat)
Append the timestamp and nonce name components to the supplied name, create
an Interest object and signs it with the KeyChain given to the constructor.
|
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.
|
SigningInfo |
SigningInfo.setSigningCertificateName(Name certificateName)
Set this to type SignerType.CERT and a certificate with name
certificateName.
|
SigningInfo |
SigningInfo.setSigningIdentity(Name identityName)
Set this to type SignerType.ID and an identity with name identityName.
|
SigningInfo |
SigningInfo.setSigningKeyName(Name keyName)
Set this to type SignerType.KEY and a key with name keyName.
|
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.
|
static void |
KeyChain.signWithHmacWithSha256(Interest interest,
Blob key,
Name keyName)
Append a SignatureInfo to the Interest name, compute an HmacWithSha256
signature for the name components and append a final name component with
the signature bits.
|
static void |
KeyChain.signWithHmacWithSha256(Interest interest,
Blob key,
Name keyName,
WireFormat wireFormat)
Append a SignatureInfo to the Interest name, compute an HmacWithSha256
signature for the name components and append a final name component with
the signature bits.
|
| Constructor and Description |
|---|
SafeBag(Name keyName,
Blob privateKeyBag,
Blob publicKeyEncoding)
Create a SafeBag with given private key and a new self-signed certificate
for the given public key, using DigestAlgorithm.SHA256 to sign it.
|
SafeBag(Name keyName,
Blob privateKeyBag,
Blob publicKeyEncoding,
ByteBuffer password)
Create a SafeBag with given private key and a new self-signed certificate
for the given public key, using DigestAlgorithm.SHA256 to sign it.
|
SafeBag(Name keyName,
Blob privateKeyBag,
Blob publicKeyEncoding,
ByteBuffer password,
DigestAlgorithm digestAlgorithm)
Create a SafeBag with given private key and a new self-signed certificate
for the given public key.
|
SafeBag(Name keyName,
Blob privateKeyBag,
Blob publicKeyEncoding,
ByteBuffer password,
DigestAlgorithm digestAlgorithm,
WireFormat wireFormat)
Create a SafeBag with given private key and a new self-signed certificate
for the given public key.
|
SigningInfo(SigningInfo.SignerType signerType,
Name signerName)
Create a SigningInfo with the signerType and signerName, with other default
values.
|
| 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 |
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 |
IdentityStorage.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity.
|
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.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.getDefaultIdentity()
Get the default identity.
|
Name |
IdentityManager.getDefaultIdentity()
Get the default identity.
|
Name |
MemoryIdentityStorage.getDefaultIdentity()
Get the default identity.
|
Name |
BasicIdentityStorage.getDefaultIdentity()
Get the default identity.
|
abstract Name |
IdentityStorage.getDefaultIdentity()
Get the default identity.
|
Name |
IdentityManager.getDefaultKeyNameForIdentity()
Get the default key for an identity, inferred from the keyName.
|
Name |
AndroidSqlite3IdentityStorage.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 |
MemoryIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
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 |
IdentityStorage.getNewKeyName(Name identityName,
boolean useKsk)
Generate a name for a new key belonging to the identity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Sqlite3IdentityStorageBase.activateKey(Name keyName)
Activate a key.
|
void |
MemoryIdentityStorage.activateKey(Name keyName)
Activate a key.
|
abstract void |
IdentityStorage.activateKey(Name keyName)
Activate a key.
|
void |
AndroidSqlite3IdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
void |
MemoryIdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
void |
BasicIdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
abstract void |
IdentityStorage.addIdentity(Name identityName)
Add a new identity.
|
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.
|
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.
|
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.
|
void |
Sqlite3IdentityStorageBase.deactivateKey(Name keyName)
Deactivate a key.
|
void |
MemoryIdentityStorage.deactivateKey(Name keyName)
Deactivate a key.
|
abstract void |
IdentityStorage.deactivateKey(Name keyName)
Deactivate a key.
|
Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data)
Decrypt data using asymmetric encryption.
|
abstract Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
Blob |
MemoryPrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
Blob |
FilePrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
void |
AndroidSqlite3IdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
MemoryIdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
BasicIdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
abstract void |
IdentityStorage.deleteCertificateInfo(Name certificateName)
Delete a certificate.
|
void |
IdentityManager.deleteIdentity(Name identityName)
Delete the identity from the public and private key storage.
|
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 |
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 |
FilePrivateKeyStorage.deleteKey(Name keyName)
Delete a key by name; checks all KeyClass types
|
abstract void |
PrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
void |
MemoryPrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
void |
FilePrivateKeyStorage.deleteKeyPair(Name keyName)
Delete a pair of asymmetric keys.
|
void |
AndroidSqlite3IdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
void |
MemoryIdentityStorage.deletePublicKeyInfo(Name keyName)
Delete a public key and related certificates.
|
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.
|
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.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.doesIdentityExist(Name identityName)
Check if the specified identity already exists.
|
boolean |
MemoryIdentityStorage.doesIdentityExist(Name identityName)
Check if the specified identity 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.doesKeyExist(Name keyName)
Check if the specified key already exists.
|
boolean |
MemoryIdentityStorage.doesKeyExist(Name keyName)
Check if the specified key 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.
|
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.
|
boolean |
FilePrivateKeyStorage.doesKeyExist(Name keyName,
KeyClass keyClass)
Check if a particular key exists.
|
Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data)
Encrypt data using asymmetric encryption.
|
abstract Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Blob |
MemoryPrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Blob |
FilePrivateKeyStorage.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.
|
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.generateKey(Name keyName,
KeyParams params)
Generate a symmetric key.
|
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.
|
void |
FilePrivateKeyStorage.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 |
AndroidSqlite3IdentityStorage.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 |
MemoryIdentityStorage.getAllCertificateNamesOfKey(Name keyName,
ArrayList nameList,
boolean isDefault)
Append all the certificate names of a particular key name to the nameList.
|
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.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.
|
void |
MemoryIdentityStorage.getAllKeyNamesOfIdentity(Name identityName,
ArrayList nameList,
boolean isDefault)
Append all the key names of a particular identity 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.
|
IdentityCertificate |
AndroidSqlite3IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
IdentityManager.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
MemoryIdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
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.
|
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 |
IdentityStorage.getDefaultCertificateNameForIdentity(Name identityName)
Get the default certificate name for the specified identity.
|
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.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.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 |
MemoryIdentityStorage.getDefaultKeyNameForIdentity(Name identityName)
Get the default key name for the specified identity.
|
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.
|
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.
|
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.
|
Name |
IdentityStorage.getNewKeyName(Name identityName,
boolean useKsk)
Generate a name for a new key belonging to the identity.
|
abstract PublicKey |
PrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
MemoryPrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
FilePrivateKeyStorage.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 |
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.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.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
IdentityManager.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
MemoryIdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
void |
BasicIdentityStorage.setDefaultIdentity(Name identityName)
Set the default identity.
|
abstract void |
IdentityStorage.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 |
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 |
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 |
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.
|
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.
|
Blob |
FilePrivateKeyStorage.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 abstract void |
Sqlite3IdentityStorageBase.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 void |
BasicIdentityStorage.updateKeyStatus(Name keyName,
boolean isActive)
In table Key, set 'active' to isActive for the keyName.
|
| Modifier and Type | Method and Description |
|---|---|
static Name |
PibKey.constructKeyName(Name identityName,
Name.Component keyId)
Construct a key name based on the appropriate naming conventions.
|
static Name |
PibKey.extractIdentityFromKeyName(Name keyName)
Extract the identity namespace from keyName.
|
Name |
AndroidSqlite3Pib.getDefaultIdentity()
Get the default identity.
|
Name |
PibSqlite3.getDefaultIdentity()
Get the default identity.
|
Name |
PibMemory.getDefaultIdentity()
Get the default identity.
|
abstract Name |
PibImpl.getDefaultIdentity()
Get the default identity.
|
Name |
AndroidSqlite3Pib.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
Name |
PibSqlite3.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
Name |
PibMemory.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
abstract Name |
PibImpl.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
Name |
PibKey.getIdentityName()
Get the name of the identity this key belongs to.
|
Name |
PibKey.getName() |
Name |
PibIdentity.getName() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<Name,CertificateV2> |
PibCertificateContainer.getCertificates_()
Get the certificates_ map, which should only be used for testing.
|
HashSet<Name> |
AndroidSqlite3Pib.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
HashSet<Name> |
PibSqlite3.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
HashSet<Name> |
PibMemory.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
abstract HashSet<Name> |
PibImpl.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
HashMap<Name,PibIdentityImpl> |
PibIdentityContainer.getIdentities_()
Get the identities_ map, which should only be used for testing.
|
HashSet<Name> |
AndroidSqlite3Pib.getIdentities()
Get the names of all the identities.
|
HashSet<Name> |
PibSqlite3.getIdentities()
Get the names of all the identities.
|
HashSet<Name> |
PibMemory.getIdentities()
Get the names of all the identities.
|
abstract HashSet<Name> |
PibImpl.getIdentities()
Get the names of all the identities.
|
ArrayList<Name> |
PibKeyContainer.getKeyNames()
Get the names of all the keys in the container.
|
HashMap<Name,PibKeyImpl> |
PibKeyContainer.getKeys_()
Get the keys_ map, which should only be used for testing.
|
HashSet<Name> |
AndroidSqlite3Pib.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
HashSet<Name> |
PibSqlite3.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
HashSet<Name> |
PibMemory.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
abstract HashSet<Name> |
PibImpl.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
| Modifier and Type | Method and Description |
|---|---|
PibKey |
PibKeyContainer.add(ByteBuffer key,
Name keyName)
Add a key with name keyName into the container.
|
PibIdentity |
PibIdentityContainer.add(Name identityName)
Add an identity with name identityName into the container.
|
PibIdentity |
Pib.addIdentity_(Name identityName)
Add an identity with name identityName.
|
void |
AndroidSqlite3Pib.addIdentity(Name identityName)
Add the identity.
|
void |
PibSqlite3.addIdentity(Name identityName)
Add the identity.
|
void |
PibMemory.addIdentity(Name identityName)
Add the identity.
|
abstract void |
PibImpl.addIdentity(Name identityName)
Add the identity.
|
PibKey |
PibIdentity.addKey_(ByteBuffer key,
Name keyName)
Add the key.
|
void |
AndroidSqlite3Pib.addKey(Name identityName,
Name keyName,
ByteBuffer key)
Add the key.
|
void |
PibSqlite3.addKey(Name identityName,
Name keyName,
ByteBuffer key)
Add the key.
|
void |
PibMemory.addKey(Name identityName,
Name keyName,
ByteBuffer key)
Add the key.
|
abstract void |
PibImpl.addKey(Name identityName,
Name keyName,
ByteBuffer key)
Add the key.
|
static Name |
PibKey.constructKeyName(Name identityName,
Name.Component keyId)
Construct a key name based on the appropriate naming conventions.
|
static Name |
PibKey.extractIdentityFromKeyName(Name keyName)
Extract the identity namespace from keyName.
|
PibIdentity |
PibIdentityContainer.get(Name identityName)
Get the identity with name identityName from the container.
|
CertificateV2 |
PibCertificateContainer.get(Name certificateName)
Get the certificate with certificateName from the container.
|
PibKey |
PibKeyContainer.get(Name keyName)
Get the key with name keyName from the container.
|
CertificateV2 |
PibKey.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
CertificateV2 |
AndroidSqlite3Pib.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
CertificateV2 |
PibSqlite3.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
CertificateV2 |
PibMemory.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
abstract CertificateV2 |
PibImpl.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
HashSet<Name> |
AndroidSqlite3Pib.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
HashSet<Name> |
PibSqlite3.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
HashSet<Name> |
PibMemory.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
abstract HashSet<Name> |
PibImpl.getCertificatesOfKey(Name keyName)
Get a list of certificate names of the key with id keyName.
|
CertificateV2 |
AndroidSqlite3Pib.getDefaultCertificateOfKey(Name keyName)
Get the default certificate for the key with eyName.
|
CertificateV2 |
PibSqlite3.getDefaultCertificateOfKey(Name keyName)
Get the default certificate for the key with eyName.
|
CertificateV2 |
PibMemory.getDefaultCertificateOfKey(Name keyName)
Get the default certificate for the key with eyName.
|
abstract CertificateV2 |
PibImpl.getDefaultCertificateOfKey(Name keyName)
Get the default certificate for the key with eyName.
|
Name |
AndroidSqlite3Pib.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
Name |
PibSqlite3.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
Name |
PibMemory.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
abstract Name |
PibImpl.getDefaultKeyOfIdentity(Name identityName)
Get the name of the default key for the identity with name identityName.
|
PibIdentity |
Pib.getIdentity(Name identityName)
Get the identity with name identityName.
|
PibKey |
PibIdentity.getKey(Name keyName)
Get the key with name keyName.
|
Blob |
AndroidSqlite3Pib.getKeyBits(Name keyName)
Get the key bits of a key with name keyName.
|
Blob |
PibSqlite3.getKeyBits(Name keyName)
Get the key bits of a key with name keyName.
|
Blob |
PibMemory.getKeyBits(Name keyName)
Get the key bits of a key with name keyName.
|
abstract Blob |
PibImpl.getKeyBits(Name keyName)
Get the key bits of a key with name keyName.
|
HashSet<Name> |
AndroidSqlite3Pib.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
HashSet<Name> |
PibSqlite3.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
HashSet<Name> |
PibMemory.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
abstract HashSet<Name> |
PibImpl.getKeysOfIdentity(Name identityName)
Get all the key names of the identity with the name identityName.
|
boolean |
AndroidSqlite3Pib.hasCertificate(Name certificateName)
Check for the existence of a certificate with name certificateName.
|
boolean |
PibSqlite3.hasCertificate(Name certificateName)
Check for the existence of a certificate with name certificateName.
|
boolean |
PibMemory.hasCertificate(Name certificateName)
Check for the existence of a certificate with name certificateName.
|
abstract boolean |
PibImpl.hasCertificate(Name certificateName)
Check for the existence of a certificate with name certificateName.
|
boolean |
AndroidSqlite3Pib.hasIdentity(Name identityName)
Check for the existence of an identity.
|
boolean |
PibSqlite3.hasIdentity(Name identityName)
Check for the existence of an identity.
|
boolean |
PibMemory.hasIdentity(Name identityName)
Check for the existence of an identity.
|
abstract boolean |
PibImpl.hasIdentity(Name identityName)
Check for the existence of an identity.
|
boolean |
AndroidSqlite3Pib.hasKey(Name keyName)
Check for the existence of a key with keyName.
|
boolean |
PibSqlite3.hasKey(Name keyName)
Check for the existence of a key with keyName.
|
boolean |
PibMemory.hasKey(Name keyName)
Check for the existence of a key with keyName.
|
abstract boolean |
PibImpl.hasKey(Name keyName)
Check for the existence of a key with keyName.
|
static boolean |
PibKey.isValidKeyName(Name keyName)
Check if keyName follows the naming conventions for a key name.
|
void |
PibIdentityContainer.remove(Name identityName)
Remove the identity with name identityName from the container, and its
related keys and certificates.
|
void |
PibCertificateContainer.remove(Name certificateName)
Remove the certificate with name certificateName from the container.
|
void |
PibKeyContainer.remove(Name keyName)
Remove the key with name keyName from the container, and its related
certificates.
|
void |
PibKey.removeCertificate_(Name certificateName)
Remove the certificate with name certificateName.
|
void |
AndroidSqlite3Pib.removeCertificate(Name certificateName)
Remove the certificate with name certificateName.
|
void |
PibSqlite3.removeCertificate(Name certificateName)
Remove the certificate with name certificateName.
|
void |
PibMemory.removeCertificate(Name certificateName)
Remove the certificate with name certificateName.
|
abstract void |
PibImpl.removeCertificate(Name certificateName)
Remove the certificate with name certificateName.
|
void |
Pib.removeIdentity_(Name identityName)
Remove the identity with name identityName, and its related keys and
certificates.
|
void |
AndroidSqlite3Pib.removeIdentity(Name identityName)
Remove the identity and its related keys and certificates.
|
void |
PibSqlite3.removeIdentity(Name identityName)
Remove the identity and its related keys and certificates.
|
void |
PibMemory.removeIdentity(Name identityName)
Remove the identity and its related keys and certificates.
|
abstract void |
PibImpl.removeIdentity(Name identityName)
Remove the identity and its related keys and certificates.
|
void |
PibIdentity.removeKey_(Name keyName)
Remove the key with keyName and its related certificates.
|
void |
AndroidSqlite3Pib.removeKey(Name keyName)
Remove the key with keyName and its related certificates.
|
void |
PibSqlite3.removeKey(Name keyName)
Remove the key with keyName and its related certificates.
|
void |
PibMemory.removeKey(Name keyName)
Remove the key with keyName and its related certificates.
|
abstract void |
PibImpl.removeKey(Name keyName)
Remove the key with keyName and its related certificates.
|
CertificateV2 |
PibKey.setDefaultCertificate_(Name certificateName)
Set the existing certificate with name certificateName as the default
certificate.
|
void |
AndroidSqlite3Pib.setDefaultCertificateOfKey(Name keyName,
Name certificateName)
Set the cert with name certificateName as the default for the key with
keyName.
|
void |
PibSqlite3.setDefaultCertificateOfKey(Name keyName,
Name certificateName)
Set the cert with name certificateName as the default for the key with
keyName.
|
void |
PibMemory.setDefaultCertificateOfKey(Name keyName,
Name certificateName)
Set the cert with name certificateName as the default for the key with
keyName.
|
abstract void |
PibImpl.setDefaultCertificateOfKey(Name keyName,
Name certificateName)
Set the cert with name certificateName as the default for the key with
keyName.
|
PibIdentity |
Pib.setDefaultIdentity_(Name identityName)
Set the identity with name identityName as the default identity.
|
void |
AndroidSqlite3Pib.setDefaultIdentity(Name identityName)
Set the identity with the identityName as the default identity.
|
void |
PibSqlite3.setDefaultIdentity(Name identityName)
Set the identity with the identityName as the default identity.
|
void |
PibMemory.setDefaultIdentity(Name identityName)
Set the identity with the identityName as the default identity.
|
abstract void |
PibImpl.setDefaultIdentity(Name identityName)
Set the identity with the identityName as the default identity.
|
PibKey |
PibIdentity.setDefaultKey_(ByteBuffer key,
Name keyName)
Add a key with name keyName and set it as the default key of the identity.
|
PibKey |
PibIdentity.setDefaultKey_(Name keyName)
Set the key with name keyName as the default key of the identity.
|
void |
AndroidSqlite3Pib.setDefaultKeyOfIdentity(Name identityName,
Name keyName)
Set the key with keyName as the default key for the identity with name
identityName.
|
void |
PibSqlite3.setDefaultKeyOfIdentity(Name identityName,
Name keyName)
Set the key with keyName as the default key for the identity with name
identityName.
|
void |
PibMemory.setDefaultKeyOfIdentity(Name identityName,
Name keyName)
Set the key with keyName as the default key for the identity with name
identityName.
|
abstract void |
PibImpl.setDefaultKeyOfIdentity(Name identityName,
Name keyName)
Set the key with keyName as the default key for the identity with name
identityName.
|
| Constructor and Description |
|---|
PibCertificateContainer(Name keyName,
PibImpl pibImpl)
Create a PibCertificateContainer for a key with keyName.
|
PibKeyContainer(Name identityName,
PibImpl pibImpl)
Create a PibKeyContainer for an identity with identityName.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
PibKeyImpl.getIdentityName()
Get the name of the identity this key belongs to.
|
Name |
PibIdentityImpl.getName() |
Name |
PibKeyImpl.getName() |
| Modifier and Type | Method and Description |
|---|---|
PibKey |
PibIdentityImpl.addKey(ByteBuffer key,
Name keyName)
Add the key.
|
CertificateV2 |
PibKeyImpl.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
PibKey |
PibIdentityImpl.getKey(Name keyName)
Get the key with name keyName.
|
void |
PibKeyImpl.removeCertificate(Name certificateName)
Remove the certificate with name certificateName.
|
void |
PibIdentityImpl.removeKey(Name keyName)
Remove the key with keyName and its related certificates.
|
CertificateV2 |
PibKeyImpl.setDefaultCertificate(Name certificateName)
Set the existing certificate with name certificateName as the default
certificate.
|
PibKey |
PibIdentityImpl.setDefaultKey(ByteBuffer key,
Name keyName)
Add a key with name keyName and set it as the default key of the identity.
|
PibKey |
PibIdentityImpl.setDefaultKey(Name keyName)
Set the key with name keyName as the default key of the identity.
|
| Constructor and Description |
|---|
PibIdentityImpl(Name identityName,
PibImpl pibImpl,
boolean needInit)
Create a PibIdentityImpl with identityName.
|
PibKeyImpl(Name keyName,
ByteBuffer keyEncoding,
PibImpl pibImpl)
Create a PibKeyImpl with keyName.
|
PibKeyImpl(Name keyName,
PibImpl pibImpl)
Create a PibKeyImpl with 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,
String[] failureReason) |
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 |
|---|---|
Name |
Tpm.createKey_(Name identityName,
KeyParams params)
Create a key for the identityName according to params.
|
Name |
TpmKeyHandle.getKeyName() |
| Modifier and Type | Method and Description |
|---|---|
Name |
Tpm.createKey_(Name identityName,
KeyParams params)
Create a key for the identityName according to params.
|
TpmKeyHandle |
TpmBackEnd.createKey(Name identityName,
KeyParams params)
Create a key for the identityName according to params.
|
Blob |
Tpm.decrypt(ByteBuffer cipherText,
Name keyName)
Return the plain text which is decrypted from cipherText using the key
with name keyName.
|
void |
Tpm.deleteKey_(Name keyName)
Delete the key with name keyName.
|
void |
TpmBackEnd.deleteKey(Name keyName)
Delete the key with name keyName.
|
protected TpmKeyHandle |
TpmBackEndFile.doCreateKey(Name identityName,
KeyParams params)
Create a key for identityName according to params.
|
protected TpmKeyHandle |
TpmBackEndMemory.doCreateKey(Name identityName,
KeyParams params)
Create a key for identityName according to params.
|
protected abstract TpmKeyHandle |
TpmBackEnd.doCreateKey(Name identityName,
KeyParams params)
Create a key for identityName according to params.
|
protected void |
TpmBackEndFile.doDeleteKey(Name keyName)
Delete the key with name keyName.
|
protected void |
TpmBackEndMemory.doDeleteKey(Name keyName)
Delete the key with name keyName.
|
protected abstract void |
TpmBackEnd.doDeleteKey(Name keyName)
Delete the key with name keyName.
|
protected Blob |
TpmBackEndFile.doExportKey(Name keyName,
ByteBuffer password)
Get the encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
protected Blob |
TpmBackEndMemory.doExportKey(Name keyName,
ByteBuffer password)
Get the encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
protected Blob |
TpmBackEnd.doExportKey(Name keyName,
ByteBuffer password)
Get the encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
protected TpmKeyHandle |
TpmBackEndFile.doGetKeyHandle(Name keyName)
Get the handle of the key with name keyName.
|
protected TpmKeyHandle |
TpmBackEndMemory.doGetKeyHandle(Name keyName)
Get the handle of the key with name keyName.
|
protected abstract TpmKeyHandle |
TpmBackEnd.doGetKeyHandle(Name keyName)
Get the handle of the key with name keyName.
|
protected boolean |
TpmBackEndFile.doHasKey(Name keyName)
Check if the key with name keyName exists in the TPM.
|
protected boolean |
TpmBackEndMemory.doHasKey(Name keyName)
Check if the key with name keyName exists in the TPM.
|
protected abstract boolean |
TpmBackEnd.doHasKey(Name keyName)
Check if the key with name keyName exists in the TPM.
|
protected void |
TpmBackEndFile.doImportKey(Name keyName,
ByteBuffer pkcs8,
ByteBuffer password)
Import an encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
protected void |
TpmBackEndMemory.doImportKey(Name keyName,
ByteBuffer pkcs8,
ByteBuffer password)
Import an encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
protected void |
TpmBackEnd.doImportKey(Name keyName,
ByteBuffer pkcs8,
ByteBuffer password)
Import an encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
Blob |
TpmBackEnd.exportKey(Name keyName,
ByteBuffer password)
Get the encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
Blob |
Tpm.exportPrivateKey_(Name keyName,
ByteBuffer password)
Get the encoded private key with name keyName in PKCS #8 format, possibly
encrypted.
|
TpmKeyHandle |
TpmBackEnd.getKeyHandle(Name keyName)
Get the handle of the key with name keyName.
|
Blob |
Tpm.getPublicKey(Name keyName)
Get the public portion of an asymmetric key pair with name keyName.
|
boolean |
TpmBackEnd.hasKey(Name keyName)
Check if the key with name keyName exists in the TPM.
|
boolean |
Tpm.hasKey(Name keyName)
Check if the key with name keyName exists in the TPM.
|
void |
TpmBackEnd.importKey(Name keyName,
ByteBuffer pkcs8,
ByteBuffer password)
Import an encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
void |
Tpm.importPrivateKey_(Name keyName,
ByteBuffer pkcs8,
ByteBuffer password)
Import an encoded private key with name keyName in PKCS #8 format, possibly
password-encrypted.
|
void |
TpmKeyHandle.setKeyName(Name keyName) |
protected static void |
TpmBackEnd.setKeyName(TpmKeyHandle keyHandle,
Name identityName,
KeyParams params)
Set the key name in keyHandle according to identityName and params.
|
Blob |
Tpm.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Compute a digital signature from the byte buffer using the key with name
keyName.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashSet<Name> |
TrustAnchorGroup.anchorNames_ |
| Modifier and Type | Method and Description |
|---|---|
static Name |
CertificateV2.extractIdentityFromCertName(Name certificateName)
Extract the identity namespace from certificateName.
|
static Name |
CertificateV2.extractKeyNameFromCertName(Name certificateName)
Extract key name from certificateName.
|
Name |
CertificateV2.getIdentity()
Get the identity name from the certificate name.
|
static Name |
ValidationPolicy.getKeyLocatorName(Data data,
ValidationState state)
Extract the KeyLocator Name from a Data packet.
|
static Name |
ValidationPolicy.getKeyLocatorName(Interest interest,
ValidationState state)
Extract the KeyLocator Name from a signed Interest.
|
Name |
CertificateV2.getKeyName()
Get key name from the certificate name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CertificateCacheV2.deleteCertificate(Name certificateName)
Remove the certificate whose name equals the given name.
|
static Name |
CertificateV2.extractIdentityFromCertName(Name certificateName)
Extract the identity namespace from certificateName.
|
static Name |
CertificateV2.extractKeyNameFromCertName(Name certificateName)
Extract key name from certificateName.
|
CertificateV2 |
TrustAnchorContainer.find(Name keyName)
Search for a certificate across all groups (longest prefix match).
|
CertificateV2 |
CertificateCacheV2.find(Name certificatePrefix)
Find the certificate by the given key name.
|
boolean |
ValidationState.hasSeenCertificateName(Name certificateName)
Check if certificateName has been previously seen, and record the supplied
name.
|
boolean |
CertificateStorage.isCertificateKnown(Name certificatePrefix)
Check if the certificate with the given name prefix exists in the verified
cache, the unverified cache, or in the set of trust anchors.
|
static boolean |
CertificateV2.isValidName(Name certificateName)
Check if certificateName follows the naming convention for a certificate.
|
abstract void |
CertificateContainerInterface.remove(Name certificateName)
Remove the certificate with the given name.
|
void |
StaticTrustAnchorGroup.remove(Name certificateName)
Remove the static anchor with the certificate name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConfigRule.check(boolean isForInterest,
Name packetName,
Name keyLocatorName,
ValidationState state)
Check if the packet satisfies the rule's condition.
|
boolean |
ConfigChecker.check(boolean isForInterest,
Name packetName,
Name keyLocatorName,
ValidationState state)
Check if the packet name ane KeyLocator name satisfy this checker's
conditions.
|
static boolean |
ConfigNameRelation.checkNameRelation(ConfigNameRelation.Relation relation,
Name name1,
Name name2)
Check whether name1 and name2 satisfy the relation.
|
protected boolean |
ConfigRegexChecker.checkNames(Name packetName,
Name keyLocatorName,
ValidationState state) |
protected boolean |
ConfigNameRelationChecker.checkNames(Name packetName,
Name keyLocatorName,
ValidationState state) |
protected boolean |
ConfigHyperRelationChecker.checkNames(Name packetName,
Name keyLocatorName,
ValidationState state) |
protected abstract boolean |
ConfigChecker.checkNames(Name packetName,
Name keyLocatorName,
ValidationState state)
Check if the packet name ane KeyLocator name satisfy this checker's
conditions.
|
boolean |
ConfigFilter.match(boolean isForInterest,
Name packetName)
Call the virtual matchName method based on the packet type.
|
boolean |
ConfigRule.match(boolean isForInterest,
Name packetName)
Check if the packet name matches the rule's filter.
|
protected boolean |
ConfigRegexNameFilter.matchName(Name packetName)
Implementation of the check for match.
|
protected abstract boolean |
ConfigFilter.matchName(Name packetName)
Implementation of the check for match.
|
protected boolean |
ConfigRelationNameFilter.matchName(Name packetName)
Implementation of the check for match.
|
| Constructor and Description |
|---|
ConfigNameRelationChecker(Name name,
ConfigNameRelation.Relation relation) |
ConfigRelationNameFilter(Name name,
ConfigNameRelation.Relation relation)
Create a ConfigRelationNameFilter for the given values.
|
| 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.
|
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,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
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,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
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.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
NdnRegexTopMatcher.expand() |
Name |
NdnRegexTopMatcher.expand(String expandStr) |
| Modifier and Type | Method and Description |
|---|---|
static NdnRegexTopMatcher |
NdnRegexTopMatcher.fromName(Name name) |
static NdnRegexTopMatcher |
NdnRegexTopMatcher.fromName(Name name,
boolean hasAnchor) |
boolean |
NdnRegexTopMatcher.match(Name name) |
boolean |
NdnRegexTopMatcher.match(Name name,
int offset,
int len) |
boolean |
NdnRegexComponentSetMatcher.match(Name name,
int offset,
int len) |
boolean |
NdnRegexRepeatMatcher.match(Name name,
int offset,
int len) |
boolean |
NdnRegexComponentMatcher.match(Name name,
int offset,
int len) |
boolean |
NdnRegexMatcherBase.match(Name name,
int offset,
int len) |
Copyright © 2019. All rights reserved.