| Package | Description |
|---|---|
| net.named_data.jndn.security | |
| net.named_data.jndn.security.certificate | |
| net.named_data.jndn.security.identity | |
| net.named_data.jndn.security.policy |
| Modifier and Type | Method and Description |
|---|---|
IdentityCertificate |
KeyChain.getAnyCertificate(Name certificateName)
Get a certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
KeyChain.getAnyIdentityCertificate(Name certificateName)
Get an identity certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
KeyChain.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
KeyChain.getIdentityCertificate(Name certificateName)
Get an identity certificate with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChain.installIdentityCertificate(IdentityCertificate certificate)
Install an identity certificate into the public key identity storage.
|
void |
KeyChain.setDefaultCertificateForKey(IdentityCertificate certificate)
Set the certificate as the default for its corresponding key.
|
| Constructor and Description |
|---|
IdentityCertificate(IdentityCertificate identityCertificate)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
IdentityCertificate |
IdentityManager.getAnyCertificate(Name certificateName)
Get a certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage, requiring only a valid
certificate to be returned.
|
IdentityCertificate |
IdentityManager.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
BasicIdentityStorage.getCertificate(Name certificateName,
boolean allowAny)
Get a certificate from the identity storage.
|
abstract IdentityCertificate |
IdentityStorage.getCertificate(Name certificateName,
boolean allowAny)
Get a certificate from the identity storage.
|
IdentityCertificate |
AndroidSqlite3IdentityStorage.getCertificate(Name certificateName,
boolean allowAny)
Get a certificate from the identity storage.
|
IdentityCertificate |
MemoryIdentityStorage.getCertificate(Name certificateName,
boolean allowAny)
Get a certificate from the identity storage.
|
IdentityCertificate |
IdentityManager.selfSign(Name keyName)
Generate a self-signed certificate for a public key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicIdentityStorage.addCertificate(IdentityCertificate certificate)
Add a certificate to the identity storage.
|
abstract void |
IdentityStorage.addCertificate(IdentityCertificate certificate)
Add a certificate to the identity storage.
|
void |
AndroidSqlite3IdentityStorage.addCertificate(IdentityCertificate certificate)
Add a certificate to the identity storage.
|
void |
MemoryIdentityStorage.addCertificate(IdentityCertificate certificate)
Add a certificate to the identity storage.
|
void |
IdentityManager.addCertificate(IdentityCertificate certificate)
Add a certificate into the public key identity storage.
|
void |
IdentityManager.addCertificateAsDefault(IdentityCertificate certificate)
Add a certificate into the public key identity storage and set the
certificate as the default of its corresponding key.
|
void |
IdentityManager.addCertificateAsIdentityDefault(IdentityCertificate certificate)
Add a certificate into the public key identity storage and set the
certificate as the default for its corresponding identity.
|
protected void |
Sqlite3IdentityStorageBase.checkAddCertificate(IdentityCertificate certificate)
Throw an exception if it is an error for addCertificate to add the certificate.
|
void |
IdentityManager.setDefaultCertificateForKey(IdentityCertificate certificate)
Set the certificate as the default for its corresponding key.
|
| Modifier and Type | Method and Description |
|---|---|
IdentityCertificate |
CertificateCache.getCertificate(Name certificateName)
Fetch a certificate from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CertificateCache.insertCertificate(IdentityCertificate certificate)
Insert the certificate into the cache.
|
Copyright © 2015. All rights reserved.