NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
security-common.hpp File Reference
#include "../common.hpp"
Include dependency graph for security-common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::signed_interest
 

Macros

#define NDN_CXX_KEEP_SECURITY_V1_ALIASES
 Copyright (c) 2013-2016 Regents of the University of California. More...
 

Enumerations

enum  ndn::KeyType { ndn::KeyType::NONE = 0, ndn::KeyType::RSA = 1, ndn::KeyType::EC = 2, ndn::KeyType::AES = 128 }
 
enum  ndn::KeyClass { ndn::KeyClass::NONE, ndn::KeyClass::PUBLIC, ndn::KeyClass::PRIVATE, ndn::KeyClass::SYMMETRIC }
 
enum  ndn::DigestAlgorithm { ndn::DigestAlgorithm::NONE = 0, ndn::DigestAlgorithm::SHA256 = 1 }
 
enum  ndn::BlockCipherAlgorithm { ndn::BlockCipherAlgorithm::NONE, ndn::BlockCipherAlgorithm::AES_CBC }
 
enum  ndn::CipherOperator { ndn::CipherOperator::DECRYPT = 0, ndn::CipherOperator::ENCRYPT = 1 }
 
enum  ndn::AclType { ndn::AclType::NONE, ndn::AclType::PUBLIC, ndn::AclType::PRIVATE }
 

Functions

std::ostream & ndn::operator<< (std::ostream &os, KeyType keyType)
 
std::ostream & ndn::operator<< (std::ostream &os, KeyClass keyClass)
 
std::ostream & ndn::operator<< (std::ostream &os, DigestAlgorithm algorithm)
 
std::ostream & ndn::operator<< (std::ostream &os, BlockCipherAlgorithm algorithm)
 
std::ostream & ndn::operator<< (std::ostream &os, CipherOperator op)
 
std::ostream & ndn::operator<< (std::ostream &os, AclType aclType)
 

Variables

const ssize_t ndn::signed_interest::POS_SIG_VALUE = -1
 
const ssize_t ndn::signed_interest::POS_SIG_INFO = -2
 
const ssize_t ndn::signed_interest::POS_RANDOM_VAL = -3
 
const ssize_t ndn::signed_interest::POS_TIMESTAMP = -4
 
const size_t ndn::signed_interest::MIN_LENGTH = 4
 minimal number of components for Command Interest More...
 
const size_t ndn::signed_interest::MIN_LENGTH_SIG_ONLY = 2
 minimal number of components for Signed Interest More...
 

Macro Definition Documentation

◆ NDN_CXX_KEEP_SECURITY_V1_ALIASES

#define NDN_CXX_KEEP_SECURITY_V1_ALIASES

Copyright (c) 2013-2016 Regents of the University of California.

This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).

ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

See AUTHORS.md for complete list of ndn-cxx authors and contributors.

Definition at line 27 of file security-common.hpp.