| Package | Description |
|---|---|
| net.named_data.jndn.encrypt | |
| net.named_data.jndn.security | |
| net.named_data.jndn.security.pib | |
| net.named_data.jndn.security.pib.detail |
| Modifier and Type | Method and Description |
|---|---|
Data |
AccessManagerV2.addMember(CertificateV2 memberCertificate)
Authorize a member identified by memberCertificate to decrypt data under
the policy.
|
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.
|
abstract Data |
GroupManager.FriendAccess.createDKeyData(GroupManager groupManager,
String startTimeStamp,
String endTimeStamp,
Name keyName,
Blob privateKeyBlob,
Blob certificateKey) |
abstract Data |
GroupManager.FriendAccess.createEKeyData(GroupManager groupManager,
String startTimeStamp,
String endTimeStamp,
Blob publicKeyBlob) |
List |
GroupManager.getGroupKey(double timeSlot)
Call the main getGroupKey where needRegenerate is default true.
|
List |
GroupManager.getGroupKey(double timeSlot,
boolean needRegenerate)
Create a group key for the interval into which timeSlot falls.
|
void |
Producer.produce(Data data,
double timeSlot,
Blob content)
Call the main produce method where onError is defaultOnError.
|
void |
Producer.produce(Data data,
double timeSlot,
Blob content,
EncryptError.OnError onError)
Encrypt the given content with the content key that covers timeSlot, and
update the data packet with the encrypted content and an appropriate data
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChain.addCertificate(PibKey key,
CertificateV2 certificate)
Add a certificate for the key.
|
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.
|
PibKey |
KeyChain.createKey(PibIdentity identity)
Create a key for the identity according to getDefaultKeyParams().
|
PibKey |
KeyChain.createKey(PibIdentity identity,
KeyParams params)
Create a key for the identity according to params.
|
void |
KeyChain.deleteCertificate(PibKey key,
Name certificateName)
Delete the certificate with the given name from the given key.
|
void |
KeyChain.deleteIdentity(PibIdentity identity)
Delete the identity.
|
void |
KeyChain.deleteKey(PibIdentity identity,
PibKey key)
Delete the given key of the given identity.
|
void |
KeyChain.importSafeBag(SafeBag safeBag)
Import a certificate and its corresponding private key encapsulated in a
SafeBag, with a null password which imports an unencrypted PKCS #8
PrivateKeyInfo.
|
void |
KeyChain.importSafeBag(SafeBag safeBag,
ByteBuffer password)
Import a certificate and its corresponding private key encapsulated in a
SafeBag.
|
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.
|
PibImpl |
KeyChain.MakePibImpl.makePibImpl(String location) |
CertificateV2 |
KeyChain.selfSign(PibKey key)
Generate a self-signed certificate for the public key and add it to the
PIB.
|
CertificateV2 |
KeyChain.selfSign(PibKey key,
WireFormat wireFormat)
Generate a self-signed certificate for the public key and add it to the
PIB.
|
void |
KeyChain.setDefaultCertificate(PibKey key,
CertificateV2 certificate)
Set the certificate as the default certificate of the key.
|
void |
KeyChain.setDefaultIdentity(PibIdentity identity)
Set the identity as the default identity.
|
void |
KeyChain.setDefaultKey(PibIdentity identity,
PibKey key)
Set the key as the default key of identity.
|
Blob |
KeyChain.sign(ByteBuffer buffer)
Sign the byte buffer using the default key of the default identity.
|
Blob |
KeyChain.sign(ByteBuffer buffer,
SigningInfo params)
Sign the byte buffer according to the supplied signing parameters.
|
void |
KeyChain.sign(Data data)
Wire encode the Data object, sign it with the default key of the default
identity, and set its signature.
|
void |
KeyChain.sign(Data data,
SigningInfo params)
Wire encode the Data object, sign it according to the supplied signing
parameters, and set its signature.
|
void |
KeyChain.sign(Data data,
SigningInfo params,
WireFormat wireFormat)
Wire encode the Data object, sign it according to the supplied signing
parameters, and set its signature.
|
void |
KeyChain.sign(Data data,
WireFormat wireFormat)
Wire encode the Data object, sign it with the default key of the default
identity, and set its signature.
|
void |
KeyChain.sign(Interest interest)
Sign the Interest with the default key of the default identity.
|
void |
KeyChain.sign(Interest interest,
SigningInfo params)
Sign the Interest according to the supplied signing parameters.
|
void |
KeyChain.sign(Interest interest,
SigningInfo params,
WireFormat wireFormat)
Sign the Interest according to the supplied signing parameters.
|
void |
KeyChain.sign(Interest interest,
WireFormat wireFormat)
Sign the Interest with the default key of the default identity.
|
| Constructor and Description |
|---|
KeyChain()
Create a KeyChain with the default PIB and TPM, which are
platform-dependent and can be overridden system-wide or individually by the
user.
|
KeyChain(PibImpl pibImpl,
TpmBackEnd tpmBackEnd)
Create a security v2 KeyChain with explicitly-created PIB and TPM objects.
|
KeyChain(PibImpl pibImpl,
TpmBackEnd tpmBackEnd,
PolicyManager policyManager)
Create a security v2 KeyChain with explicitly-created PIB and TPM objects,
and that still uses the v1 PolicyManager.
|
KeyChain(String pibLocator,
String tpmLocator)
Create a KeyChain to use the PIB and TPM defined by the given locators.
|
KeyChain(String pibLocator,
String tpmLocator,
boolean allowReset)
Create a KeyChain to use the PIB and TPM defined by the given locators.
|
| Modifier and Type | Method and Description |
|---|---|
PibKey |
PibKeyContainer.add(ByteBuffer key,
Name keyName)
Add a key with name keyName into the container.
|
void |
PibCertificateContainer.add(CertificateV2 certificate)
Add certificate into the container.
|
PibIdentity |
PibIdentityContainer.add(Name identityName)
Add an identity with name identityName into the container.
|
void |
PibKey.addCertificate_(CertificateV2 certificate)
Add the certificate.
|
void |
AndroidSqlite3Pib.addCertificate(CertificateV2 certificate)
Add the certificate.
|
void |
PibSqlite3.addCertificate(CertificateV2 certificate)
Add the certificate.
|
void |
PibMemory.addCertificate(CertificateV2 certificate)
Add the certificate.
|
abstract void |
PibImpl.addCertificate(CertificateV2 certificate)
Add the certificate.
|
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.
|
void |
AndroidSqlite3Pib.clearIdentities()
Erase all certificates, keys, and identities.
|
void |
PibSqlite3.clearIdentities()
Erase all certificates, keys, and identities.
|
void |
PibMemory.clearIdentities()
Erase all certificates, keys, and identities.
|
abstract void |
PibImpl.clearIdentities()
Erase all certificates, keys, and identities.
|
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 |
PibKey.getDefaultCertificate()
Get the default certificate for this Key.
|
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.getDefaultIdentity()
Get the default identity.
|
Name |
PibSqlite3.getDefaultIdentity()
Get the default identity.
|
PibIdentity |
Pib.getDefaultIdentity()
Get the default identity.
|
Name |
PibMemory.getDefaultIdentity()
Get the default identity.
|
abstract Name |
PibImpl.getDefaultIdentity()
Get the default identity.
|
PibKey |
PibIdentity.getDefaultKey()
Get the default key of this 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.
|
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.
|
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.
|
String |
AndroidSqlite3Pib.getTpmLocator()
Get the TPM Locator.
|
String |
PibSqlite3.getTpmLocator()
Get the TPM Locator.
|
String |
Pib.getTpmLocator()
Get the TPM Locator.
|
String |
PibMemory.getTpmLocator()
Get the TPM Locator.
|
abstract String |
PibImpl.getTpmLocator()
Get the TPM Locator.
|
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.
|
boolean |
PibCertificateContainer.isConsistent()
Check if the container is consistent with the backend storage.
|
boolean |
PibKeyContainer.isConsistent()
Check if the container is consistent with the backend storage.
|
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.
|
void |
Pib.reset_()
Reset the content in the PIB, including a reset of the TPM locator.
|
CertificateV2 |
PibKey.setDefaultCertificate_(CertificateV2 certificate)
Add the certificate and set it as the default certificate of the key.
|
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.
|
void |
AndroidSqlite3Pib.setTpmLocator(String tpmLocator)
Set the corresponding TPM information to tpmLocator.
|
void |
PibSqlite3.setTpmLocator(String tpmLocator)
Set the corresponding TPM information to tpmLocator.
|
void |
Pib.setTpmLocator(String tpmLocator)
Set the corresponding TPM information to tpmLocator.
|
void |
PibMemory.setTpmLocator(String tpmLocator)
Set the corresponding TPM information to tpmLocator.
|
abstract void |
PibImpl.setTpmLocator(String tpmLocator)
Set the corresponding TPM information to tpmLocator.
|
| Constructor and Description |
|---|
AndroidSqlite3Pib(String databaseDirectoryPath)
Create a new AndroidSqlite3Pib to work with an SQLite3 file.
|
AndroidSqlite3Pib(String databaseDirectoryPath,
String databaseFilename)
Create a new AndroidSqlite3Pib to work with an SQLite3 file.
|
Pib(String scheme,
String location,
PibImpl pibImpl) |
PibCertificateContainer(Name keyName,
PibImpl pibImpl)
Create a PibCertificateContainer for a key with keyName.
|
PibIdentityContainer(PibImpl pibImpl)
Create a PibIdentityContainer using to use the pibImpl backend
implementation.
|
PibKeyContainer(Name identityName,
PibImpl pibImpl)
Create a PibKeyContainer for an identity with identityName.
|
PibSqlite3()
Create a new PibSqlite3 to work with an SQLite3 file.
|
PibSqlite3(String databaseDirectoryPath)
Create a new PibSqlite3 to work with an SQLite3 file.
|
PibSqlite3(String databaseDirectoryPath,
String databaseFilename)
Create a new PibSqlite3 to work with an SQLite3 file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PibKeyImpl.addCertificate(CertificateV2 certificate)
Add the certificate.
|
PibKey |
PibIdentityImpl.addKey(ByteBuffer key,
Name keyName)
Add the key.
|
CertificateV2 |
PibKeyImpl.getCertificate(Name certificateName)
Get the certificate with name certificateName.
|
CertificateV2 |
PibKeyImpl.getDefaultCertificate()
Get the default certificate for this Key.
|
PibKey |
PibIdentityImpl.getDefaultKey()
Get the default key of this Identity.
|
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(CertificateV2 certificate)
Add the certificate and set it as the default certificate of the key.
|
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.
|
Copyright © 2019. All rights reserved.