esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions
an.hpp File Reference
#include "../../packet/component.hpp"
#include "../../tlv/value.hpp"

Go to the source code of this file.

Namespaces

namespace  ndnph
 
namespace  ndnph::ndncert
 
namespace  ndnph::ndncert::TT
 TLV-TYPE assigned numbers.
 
namespace  ndnph::ndncert::Status
 Status assigned numbers.
 
namespace  ndnph::ndncert::ErrorCode
 ErrorCode assigned numbers.
 
namespace  ndnph::ndncert::challenge_consts
 

Enumerations

enum  {
  ndnph::ndncert::TT::CaPrefix = 0x81 , ndnph::ndncert::TT::CaInfo = 0x83 , ndnph::ndncert::TT::ParameterKey = 0x85 , ndnph::ndncert::TT::ParameterValue = 0x87 ,
  ndnph::ndncert::TT::CaCertificate = 0x89 , ndnph::ndncert::TT::MaxValidityPeriod = 0x8B , ndnph::ndncert::TT::ProbeResponse = 0x8D , ndnph::ndncert::TT::MaxSuffixLength = 0x8F ,
  ndnph::ndncert::TT::EcdhPub = 0x91 , ndnph::ndncert::TT::CertRequest = 0x93 , ndnph::ndncert::TT::Salt = 0x95 , ndnph::ndncert::TT::RequestId = 0x97 ,
  ndnph::ndncert::TT::Challenge = 0x99 , ndnph::ndncert::TT::Status = 0x9B , ndnph::ndncert::TT::InitializationVector = 0x9D , ndnph::ndncert::TT::EncryptedPayload = 0x9F ,
  ndnph::ndncert::TT::SelectedChallenge = 0xA1 , ndnph::ndncert::TT::ChallengeStatus = 0xA3 , ndnph::ndncert::TT::RemainingTries = 0xA5 , ndnph::ndncert::TT::RemainingTime = 0xA7 ,
  ndnph::ndncert::TT::IssuedCertName = 0xA9 , ndnph::ndncert::TT::ErrorCode = 0xAB , ndnph::ndncert::TT::ErrorInfo = 0xAD , ndnph::ndncert::TT::AuthenticationTag = 0xAF ,
  ndnph::ndncert::TT::CertToRevoke = 0xB1 , ndnph::ndncert::TT::ProbeRedirect = 0xB3
}
 
enum  {
  ndnph::ndncert::Status::BEFORE_CHALLENGE = 0 , ndnph::ndncert::Status::CHALLENGE = 1 , ndnph::ndncert::Status::PENDING = 2 , ndnph::ndncert::Status::SUCCESS = 3 ,
  ndnph::ndncert::Status::FAILURE = 4
}
 
enum  {
  ndnph::ndncert::ErrorCode::BadInterestFormat = 1 , ndnph::ndncert::ErrorCode::BadParameterFormat = 2 , ndnph::ndncert::ErrorCode::BadSignature = 3 , ndnph::ndncert::ErrorCode::InvalidParameters = 4 ,
  ndnph::ndncert::ErrorCode::NameNotAllowed = 5 , ndnph::ndncert::ErrorCode::BadValidityPeriod = 6 , ndnph::ndncert::ErrorCode::OutOfTries = 7 , ndnph::ndncert::ErrorCode::OutOfTime = 8 ,
  ndnph::ndncert::ErrorCode::NoAvailableName = 9
}
 

Functions

Component ndnph::ndncert::getCaComponent ()
 Return 'CA' component.
 
Component ndnph::ndncert::getInfoComponent ()
 Return 'INFO' component.
 
Component ndnph::ndncert::getProbeComponent ()
 Return 'PROBE' component.
 
Component ndnph::ndncert::getNewComponent ()
 Return 'NEW' component.
 
Component ndnph::ndncert::getChallengeComponent ()
 Return 'CHALLENGE' component.
 
tlv::Value ndnph::ndncert::challenge_consts::nop ()
 
tlv::Value ndnph::ndncert::challenge_consts::possession ()
 
tlv::Value ndnph::ndncert::challenge_consts::issuedcert ()
 
tlv::Value ndnph::ndncert::challenge_consts::nonce ()
 
tlv::Value ndnph::ndncert::challenge_consts::proof ()