| 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 |
| Constructor and Description |
|---|
DecryptorV2(PibKey credentialsKey,
Validator validator,
KeyChain keyChain,
Face face)
Create a DecryptorV2 with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
PibKey |
SigningInfo.getPibKey()
Get the PibKey of the signer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChain.addCertificate(PibKey key,
CertificateV2 certificate)
Add a certificate for the key.
|
void |
KeyChain.deleteCertificate(PibKey key,
Name certificateName)
Delete the certificate with the given name from the given key.
|
void |
KeyChain.deleteKey(PibIdentity identity,
PibKey key)
Delete the given key of the given identity.
|
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.setDefaultKey(PibIdentity identity,
PibKey key)
Set the key as the default key of identity.
|
SigningInfo |
SigningInfo.setPibKey(PibKey key)
Set this to type SignerType.KEY according to the given PibKey.
|
| Constructor and Description |
|---|
SigningInfo(PibKey key)
Create a SigningInfo of type SignerType.KEY according to the given PibKey.
|
| Modifier and Type | Method and Description |
|---|---|
PibKey |
PibKeyContainer.add(ByteBuffer key,
Name keyName)
Add a key with name keyName into the container.
|
PibKey |
PibIdentity.addKey_(ByteBuffer key,
Name keyName)
Add the key.
|
PibKey |
PibKeyContainer.get(Name keyName)
Get the key with name keyName from the container.
|
PibKey |
PibIdentity.getDefaultKey()
Get the default key of this Identity.
|
PibKey |
PibIdentity.getKey(Name keyName)
Get the key with name keyName.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
PibKey |
PibIdentityImpl.addKey(ByteBuffer key,
Name keyName)
Add the key.
|
PibKey |
PibIdentityImpl.getDefaultKey()
Get the default key of this Identity.
|
PibKey |
PibIdentityImpl.getKey(Name keyName)
Get the key with name keyName.
|
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.
|
Copyright © 2019. All rights reserved.