| Package | Description |
|---|---|
| net.named_data.jndn.security | |
| net.named_data.jndn.security.identity | |
| net.named_data.jndn.security.tpm |
| Modifier and Type | Class and Description |
|---|---|
class |
AesKeyParams |
class |
EcdsaKeyParams
Deprecated.
Use EcKeyParams .
|
class |
EcKeyParams |
class |
RsaKeyParams |
| Modifier and Type | Method and Description |
|---|---|
static KeyParams |
KeyChain.getDefaultKeyParams() |
| Modifier and Type | Method and Description |
|---|---|
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,
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,
KeyParams params)
Create a security V2 identity for identityName.
|
PibKey |
KeyChain.createKey(PibIdentity identity,
KeyParams params)
Create a key for the identity according to params.
|
| 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.
|
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.
|
| 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.
|
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.
|
static TpmPrivateKey |
TpmPrivateKey.generatePrivateKey(KeyParams keyParams)
Generate a key pair according to keyParams and return a new TpmPrivateKey
with the private key.
|
protected static void |
TpmBackEnd.setKeyName(TpmKeyHandle keyHandle,
Name identityName,
KeyParams params)
Set the key name in keyHandle according to identityName and params.
|
Copyright © 2019. All rights reserved.