Namespaces | |
conf | |
Classes | |
class | AdditionalDescription |
Abstraction of AdditionalDescription. More... | |
class | CertificateContainer |
A handler to search or enumerate certificates of a key. More... | |
class | DummyPublicInfo |
class | DummyTpm |
struct | Factory |
class | Identity |
represents an identity More... | |
class | IdentityContainer |
A handler to search or enumerate identities in PIB. More... | |
class | Key |
represents a key More... | |
class | KeyChain |
The packet signing interface. More... | |
class | KeyContainer |
A handler to search or enumerate keys of an identity. More... | |
class | Pib |
represents the PIB More... | |
class | PibImpl |
Abstract class of PIB implementation. More... | |
class | PibMemory |
An in-memory implementation of Pib. More... | |
class | PibSqlite3 |
Pib backend implementation based on SQLite3 database. More... | |
class | SigningInfo |
Signing parameters passed to KeyChain. More... | |
class | ValidityPeriod |
Abstraction of validity period. More... | |
Typedefs | |
typedef Factory< KeyChain::PibCreateFunc > | PibFactory |
typedef Factory< KeyChain::TpmCreateFunc > | TpmFactory |
Functions | |
template size_t | AdditionalDescription::wireEncode< encoding::EncoderTag > (EncodingImpl< encoding::EncoderTag > &encoder) const |
template size_t | AdditionalDescription::wireEncode< encoding::EstimatorTag > (EncodingImpl< encoding::EstimatorTag > &encoder) const |
std::ostream & | operator<< (std::ostream &os, const AdditionalDescription &other) |
static std::map< std::string, PibFactory > & | getPibFactories () |
static std::map< std::string, TpmFactory > & | getTpmFactories () |
static std::tuple< std::string, std::string > | parseUri (const std::string &uri) |
static std::tuple< std::string, std::string > | getCanonicalPibLocator (const std::string &pibLocator) |
static std::tuple< std::string, std::string > | getCanonicalTpmLocator (const std::string &tpmLocator) |
static Name | getKeyName (const Name &identity, const name::Component &keyId) |
SigningInfo | signingByIdentity (const Name &identity) |
SigningInfo | signingByKey (const Name &keyName) |
SigningInfo | signingByCertificate (const Name &certName) |
SigningInfo | signingWithSha256 () |
template size_t | ValidityPeriod::wireEncode< encoding::EncoderTag > (EncodingImpl< encoding::EncoderTag > &encoder) const |
template size_t | ValidityPeriod::wireEncode< encoding::EstimatorTag > (EncodingImpl< encoding::EstimatorTag > &encoder) const |
std::ostream & | operator<< (std::ostream &os, const ValidityPeriod &period) |
Variables | |
static const uint8_t | DUMMY_CERT [] |
static const uint8_t | DUMMY_SIGNATURE [] |
DummyPublicInfo | |
pib | dummy |
DummyTpm | |
WireEncodable< AdditionalDescription > | |
WireEncodableWithEncodingBuffer< AdditionalDescription > | |
WireDecodable< AdditionalDescription > | |
static const size_t | KEY_OFFSET = 0 |
static const size_t | VALUE_OFFSET = 1 |
const std::string | DEFAULT_PIB_SCHEME = "pib-sqlite3" |
const std::string | DEFAULT_TPM_SCHEME = "tpm-file" |
SecPublicInfoSqlite3 | |
pib | sqlite3 |
SecTpmFile | |
tpm | file |
static const string | INITIALIZATION |
WireEncodable< ValidityPeriod > | |
WireEncodableWithEncodingBuffer< ValidityPeriod > | |
WireDecodable< ValidityPeriod > | |
static const size_t | ISO_DATETIME_SIZE = 15 |
static const size_t | NOT_BEFORE_OFFSET = 0 |
static const size_t | NOT_AFTER_OFFSET = 1 |
Definition at line 83 of file key-chain.cpp.
Definition at line 84 of file key-chain.cpp.
template size_t ndn::security::AdditionalDescription::wireEncode< encoding::EncoderTag > | ( | EncodingImpl< encoding::EncoderTag > & | encoder | ) | const |
template size_t ndn::security::AdditionalDescription::wireEncode< encoding::EstimatorTag > | ( | EncodingImpl< encoding::EstimatorTag > & | encoder | ) | const |
std::ostream & ndn::security::operator<< | ( | std::ostream & | os, |
const AdditionalDescription & | other | ||
) |
Definition at line 181 of file additional-description.cpp.
Referenced by ndn::security::ValidityPeriod::Error::Error(), and ndn::security::AdditionalDescription::size().
|
static |
Definition at line 87 of file key-chain.cpp.
Referenced by ndn::security::KeyChain::createPib(), getCanonicalPibLocator(), and getTpmFactories().
|
static |
Definition at line 94 of file key-chain.cpp.
References ndn::security::Factory< T >::canonicalName, and getPibFactories().
Referenced by ndn::security::KeyChain::createTpm(), and getCanonicalTpmLocator().
|
inlinestatic |
Definition at line 149 of file key-chain.cpp.
Referenced by getCanonicalPibLocator(), and getCanonicalTpmLocator().
|
inlinestatic |
Definition at line 169 of file key-chain.cpp.
References DEFAULT_PIB_SCHEME, getPibFactories(), and parseUri().
Referenced by ndn::security::KeyChain::createPib(), and ndn::security::KeyChain::createTpm().
|
inlinestatic |
Definition at line 207 of file key-chain.cpp.
References DEFAULT_TPM_SCHEME, getTpmFactories(), and parseUri().
Referenced by ndn::security::KeyChain::createTpm().
|
static |
Definition at line 207 of file pib-sqlite3.cpp.
References ndn::Name::append().
Referenced by ndn::security::PibSqlite3::addKey(), ndn::security::PibSqlite3::getCertificatesOfKey(), ndn::security::PibSqlite3::getDefaultCertificateOfKey(), ndn::security::PibSqlite3::getKeyBits(), ndn::security::PibSqlite3::hasKey(), ndn::security::PibSqlite3::removeKey(), and ndn::security::PibSqlite3::setDefaultKeyOfIdentity().
SigningInfo ndn::security::signingByIdentity | ( | const Name & | identity | ) |
Definition at line 28 of file signing-helpers.cpp.
References ndn::security::SigningInfo::SIGNER_TYPE_ID.
Referenced by nfd::rib::RemoteRegistrator::registerPrefix(), ndn::Face::registerPrefix(), ndn::Face::setInterestFilter(), ndn::nfd::CommandOptions::setSigningInfo(), and nfd::rib::RemoteRegistrator::unregisterPrefix().
SigningInfo ndn::security::signingByKey | ( | const Name & | keyName | ) |
Definition at line 34 of file signing-helpers.cpp.
References ndn::security::SigningInfo::SIGNER_TYPE_KEY.
SigningInfo ndn::security::signingByCertificate | ( | const Name & | certName | ) |
Definition at line 40 of file signing-helpers.cpp.
References ndn::security::SigningInfo::SIGNER_TYPE_CERT.
Referenced by ndn::nfd::makeSigningInfoFromIdentityCertificate(), ndn::Face::registerPrefix(), and ndn::Face::setInterestFilter().
SigningInfo ndn::security::signingWithSha256 | ( | ) |
Definition at line 46 of file signing-helpers.cpp.
References ndn::security::SigningInfo::SIGNER_TYPE_SHA256.
template size_t ndn::security::ValidityPeriod::wireEncode< encoding::EncoderTag > | ( | EncodingImpl< encoding::EncoderTag > & | encoder | ) | const |
template size_t ndn::security::ValidityPeriod::wireEncode< encoding::EstimatorTag > | ( | EncodingImpl< encoding::EstimatorTag > & | encoder | ) | const |
std::ostream & ndn::security::operator<< | ( | std::ostream & | os, |
const ValidityPeriod & | period | ||
) |
Definition at line 164 of file validity-period.cpp.
References ndn::security::ValidityPeriod::getPeriod(), and ndn::time::toIsoString().
|
static |
Definition at line 28 of file dummy-keychain.cpp.
|
static |
Definition at line 46 of file dummy-keychain.cpp.
Definition at line 68 of file dummy-keychain.cpp.
tpm ndn::security::dummy |
Definition at line 68 of file dummy-keychain.cpp.
Definition at line 69 of file dummy-keychain.cpp.
ndn::security::WireEncodable< AdditionalDescription > |
Definition at line 30 of file additional-description.cpp.
ndn::security::WireEncodableWithEncodingBuffer< AdditionalDescription > |
Definition at line 31 of file additional-description.cpp.
ndn::security::WireDecodable< AdditionalDescription > |
Definition at line 32 of file additional-description.cpp.
|
static |
Definition at line 36 of file additional-description.cpp.
Referenced by ndn::security::AdditionalDescription::wireDecode().
|
static |
Definition at line 37 of file additional-description.cpp.
Referenced by ndn::security::AdditionalDescription::wireDecode().
const std::string ndn::security::DEFAULT_PIB_SCHEME = "pib-sqlite3" |
Definition at line 50 of file key-chain.cpp.
Referenced by getCanonicalPibLocator().
const std::string ndn::security::DEFAULT_TPM_SCHEME = "tpm-file" |
Definition at line 55 of file key-chain.cpp.
Referenced by getCanonicalTpmLocator().
ndn::security::SecPublicInfoSqlite3 |
Definition at line 63 of file key-chain.cpp.
pib ndn::security::sqlite3 |
Definition at line 63 of file key-chain.cpp.
ndn::security::SecTpmFile |
Definition at line 69 of file key-chain.cpp.
tpm ndn::security::file |
Definition at line 69 of file key-chain.cpp.
Referenced by ndn::ValidatorConfig::load(), and ndn::SecTpmFile::signInTpm().
|
static |
Definition at line 38 of file pib-sqlite3.cpp.
ndn::security::WireEncodable< ValidityPeriod > |
Definition at line 30 of file validity-period.cpp.
ndn::security::WireEncodableWithEncodingBuffer< ValidityPeriod > |
Definition at line 31 of file validity-period.cpp.
ndn::security::WireDecodable< ValidityPeriod > |
Definition at line 32 of file validity-period.cpp.
|
static |
Definition at line 36 of file validity-period.cpp.
Referenced by ndn::security::ValidityPeriod::wireDecode().
|
static |
Definition at line 37 of file validity-period.cpp.
Referenced by ndn::security::ValidityPeriod::wireDecode().
|
static |
Definition at line 38 of file validity-period.cpp.
Referenced by ndn::security::ValidityPeriod::wireDecode().