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.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
KeyChain.getIdentityCertificate(Name certificateName)
Deprecated.
Use getCertificate.
|
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 |
BasicIdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
abstract IdentityCertificate |
IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
AndroidSqlite3IdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
MemoryIdentityStorage.getCertificate(Name certificateName)
Get a certificate from the identity storage.
|
IdentityCertificate |
IdentityManager.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
IdentityStorage.getDefaultCertificate()
Get the certificate of the default identity.
|
IdentityCertificate |
IdentityManager.getDefaultCertificate()
Get the certificate of the default identity.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription)
Use the keyName to get the public key from the identity storage and
prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription,
Name certPrefix)
Use the keyName to get the public key from the identity storage and
prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription)
Prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription,
Name certPrefix)
Prepare an unsigned identity certificate.
|
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.
|
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 © 2016. All rights reserved.