| Package | Description |
|---|---|
| net.named_data.jndn.security | |
| net.named_data.jndn.security.pib |
| Modifier and Type | Method and Description |
|---|---|
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.
|
PibIdentity |
SigningInfo.getPibIdentity()
Get the PibIdentity of the signer.
|
| 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.
|
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.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.
|
SigningInfo |
SigningInfo.setPibIdentity(PibIdentity identity)
Set this to type SignerType.ID according to the given PibIdentity.
|
| Constructor and Description |
|---|
SigningInfo(PibIdentity identity)
Create a SigningInfo of type SignerType.ID according to the given
PibIdentity.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
PibIdentity |
PibIdentityContainer.get(Name identityName)
Get the identity with name identityName from the container.
|
PibIdentity |
Pib.getDefaultIdentity()
Get the default identity.
|
PibIdentity |
Pib.getIdentity(Name identityName)
Get the identity with name identityName.
|
PibIdentity |
Pib.setDefaultIdentity_(Name identityName)
Set the identity with name identityName as the default identity.
|
Copyright © 2018. All rights reserved.