| Namespaces | |
| pib | |
| tpm | |
| transform | |
| v2 | |
| Classes | |
| class | CommandInterestPreparer | 
| Helper class to prepare command interest name.  More... | |
| class | CommandInterestSigner | 
| Helper class to create command interests.  More... | |
| class | SafeBag | 
| a secured container for sensitive information(certificate, private key)  More... | |
| class | SigningInfo | 
| Signing parameters passed to KeyChain.  More... | |
| class | ValidatorConfig | 
| Helper for validator that uses CommandInterest + Config policy and NetworkFetcher.  More... | |
| class | ValidityPeriod | 
| Abstraction of validity period.  More... | |
| Functions | |
| std::ostream & | operator<< (std::ostream &os, const ValidityPeriod &period) | 
| std::ostream & | operator<< (std::ostream &os, const SigningInfo &si) | 
| static ParseResult | parse (const Data &data) | 
| static ParseResult | parse (const Interest &interest) | 
| template size_t | SafeBag ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const | 
| template size_t | SafeBag ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const | 
| SigningInfo | signingByCertificate (const Name &certName) | 
| SigningInfo | signingByCertificate (const v2::Certificate &cert) | 
| SigningInfo | signingByIdentity (const Name &identityName) | 
| SigningInfo | signingByIdentity (const Identity &identity) | 
| SigningInfo | signingByKey (const Name &keyName) | 
| SigningInfo | signingByKey (const Key &key) | 
| SigningInfo | signingWithSha256 () | 
| template size_t | ValidityPeriod ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const | 
| template size_t | ValidityPeriod ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const | 
| bool | verifyDigest (const uint8_t *blob, size_t blobLen, const uint8_t *digest, size_t digestLen, DigestAlgorithm algorithm) | 
| Verify blobagainstdigestusingalgorithm.  More... | |
| bool | verifyDigest (const Data &data, DigestAlgorithm algorithm) | 
| Verify dataagainst digestalgorithm.  More... | |
| bool | verifyDigest (const Interest &interest, DigestAlgorithm algorithm) | 
| Verify interestagainst digestalgorithm.  More... | |
| bool | verifySignature (const uint8_t *blob, size_t blobLen, const uint8_t *sig, size_t sigLen, const transform::PublicKey &key) | 
| Verify blobusingkeyagainstsig.  More... | |
| bool | verifySignature (const uint8_t *blob, size_t blobLen, const uint8_t *sig, size_t sigLen, const uint8_t *key, size_t keyLen) | 
| Verify blobusingkeyagainstsig.  More... | |
| static bool | verifySignature (ParseResult params, const transform::PublicKey &key) | 
| static bool | verifySignature (ParseResult params, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm) | 
| static bool | verifySignature (ParseResult params, const uint8_t *key, size_t keyLen) | 
| bool | verifySignature (const Data &data, const transform::PublicKey &key) | 
| Verify datausingkey.  More... | |
| bool | verifySignature (const Interest &interest, const transform::PublicKey &key) | 
| Verify interestusingkey.  More... | |
| bool | verifySignature (const Data &data, const pib::Key &key) | 
| Verify datausingkey.  More... | |
| bool | verifySignature (const Interest &interest, const pib::Key &key) | 
| Verify interestusingkey.  More... | |
| bool | verifySignature (const Data &data, const uint8_t *key, size_t keyLen) | 
| Verify datausingkey.  More... | |
| bool | verifySignature (const Interest &interest, const uint8_t *key, size_t keyLen) | 
| Verify interestusingkey.  More... | |
| bool | verifySignature (const Data &data, const v2::Certificate &cert) | 
| Verify datausingcert.  More... | |
| bool | verifySignature (const Interest &interest, const v2::Certificate &cert) | 
| Verify interestusingcert.  More... | |
| bool | verifySignature (const Data &data, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm) | 
| Verify datausingtpmandkeyNamewith thedigestAlgorithm.  More... | |
| bool | verifySignature (const Interest &interest, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm) | 
| Verify interestusingtpmandkeyNamewith thedigestAlgorithm.  More... | |
| Variables | |
| static const size_t | ISO_DATETIME_SIZE = 15 | 
| static const size_t | NOT_AFTER_OFFSET = 1 | 
| static const size_t | NOT_BEFORE_OFFSET = 0 | 
| std::ostream & ndn::security::operator<< | ( | std::ostream & | os, | 
| const ValidityPeriod & | period | ||
| ) | 
Definition at line 153 of file validity-period.cpp.
| std::ostream & ndn::security::operator<< | ( | std::ostream & | os, | 
| const SigningInfo & | si | ||
| ) | 
Definition at line 201 of file signing-info.cpp.
| 
 | static | 
Definition at line 87 of file verification-helpers.cpp.
| 
 | static | 
Definition at line 102 of file verification-helpers.cpp.
| template size_t ndn::security::SafeBag ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const | 
| template size_t ndn::security::SafeBag ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const | 
| SigningInfo ndn::security::signingByCertificate | ( | const Name & | certName | ) | 
Definition at line 52 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingByCertificate | ( | const v2::Certificate & | cert | ) | 
Definition at line 58 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingByIdentity | ( | const Name & | identityName | ) | 
Definition at line 28 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingByIdentity | ( | const Identity & | identity | ) | 
Definition at line 34 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingByKey | ( | const Name & | keyName | ) | 
Definition at line 40 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingByKey | ( | const Key & | key | ) | 
Definition at line 46 of file signing-helpers.cpp.
| SigningInfo ndn::security::signingWithSha256 | ( | ) | 
Definition at line 64 of file signing-helpers.cpp.
| template size_t ndn::security::ValidityPeriod ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const | 
| template size_t ndn::security::ValidityPeriod ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const | 
| bool ndn::security::verifyDigest | ( | const uint8_t * | blob, | 
| size_t | blobLen, | ||
| const uint8_t * | digest, | ||
| size_t | digestLen, | ||
| DigestAlgorithm | algorithm | ||
| ) | 
Verify blob against digest using algorithm. 
Definition at line 209 of file verification-helpers.cpp.
| bool ndn::security::verifyDigest | ( | const Data & | data, | 
| DigestAlgorithm | algorithm | ||
| ) | 
Verify data against digest algorithm. 
Definition at line 231 of file verification-helpers.cpp.
| bool ndn::security::verifyDigest | ( | const Interest & | interest, | 
| DigestAlgorithm | algorithm | ||
| ) | 
Verify interest against digest algorithm. 
Definition at line 239 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const uint8_t * | blob, | 
| size_t | blobLen, | ||
| const uint8_t * | sig, | ||
| size_t | sigLen, | ||
| const transform::PublicKey & | key | ||
| ) | 
Verify blob using key against sig. 
Definition at line 56 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const uint8_t * | blob, | 
| size_t | blobLen, | ||
| const uint8_t * | sig, | ||
| size_t | sigLen, | ||
| const uint8_t * | key, | ||
| size_t | keyLen | ||
| ) | 
Verify blob using key against sig. 
key must be a public key in PKCS #8 format. Definition at line 72 of file verification-helpers.cpp.
| 
 | static | 
Definition at line 123 of file verification-helpers.cpp.
| 
 | static | 
Definition at line 130 of file verification-helpers.cpp.
| 
 | static | 
Definition at line 138 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Data & | data, | 
| const transform::PublicKey & | key | ||
| ) | 
Verify data using key. 
Definition at line 145 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Interest & | interest, | 
| const transform::PublicKey & | key | ||
| ) | 
Verify interest using key. 
Definition at line 151 of file verification-helpers.cpp.
Verify data using key. 
Definition at line 157 of file verification-helpers.cpp.
Verify interest using key. 
Definition at line 163 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Data & | data, | 
| const uint8_t * | key, | ||
| size_t | keyLen | ||
| ) | 
Verify data using key. 
key must be a public key in PKCS #8 format. Definition at line 169 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Interest & | interest, | 
| const uint8_t * | key, | ||
| size_t | keyLen | ||
| ) | 
Verify interest using key. 
key must be a public key in PKCS #8 format. Definition at line 175 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Data & | data, | 
| const v2::Certificate & | cert | ||
| ) | 
Verify data using cert. 
Definition at line 181 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Interest & | interest, | 
| const v2::Certificate & | cert | ||
| ) | 
Verify interest using cert. 
Definition at line 187 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Data & | data, | 
| const tpm::Tpm & | tpm, | ||
| const Name & | keyName, | ||
| DigestAlgorithm | digestAlgorithm | ||
| ) | 
Verify data using tpm and keyName with the digestAlgorithm. 
Definition at line 193 of file verification-helpers.cpp.
| bool ndn::security::verifySignature | ( | const Interest & | interest, | 
| const tpm::Tpm & | tpm, | ||
| const Name & | keyName, | ||
| DigestAlgorithm | digestAlgorithm | ||
| ) | 
Verify interest using tpm and keyName with the digestAlgorithm. 
Definition at line 200 of file verification-helpers.cpp.
| 
 | static | 
Definition at line 36 of file validity-period.cpp.
| 
 | static | 
Definition at line 38 of file validity-period.cpp.
| 
 | static | 
Definition at line 37 of file validity-period.cpp.