|
template<typename T , int bufferSize = 4096> |
bool | input (Region ®ion, T &target, std::istream &is=std::cin) |
| Read and decode from input stream. More...
|
|
template<typename Encodable , int bufferSize = 65536> |
void | output (const Encodable &packet, std::ostream &os=std::cout) |
| Write an Encodable to output stream. More...
|
|
KeyChain & | openKeyChain () |
| Open KeyChain according to `NDNPH_KEYCHAIN` environ. More...
|
|
std::string | checkKeyChainId (const std::string &id) |
| Check KeyChain object ID has the proper format. More...
|
|
void | loadKey (Region ®ion, const std::string &id, EcPrivateKey &pvt, EcPublicKey &pub) |
| Load a key from the KeyChain. More...
|
|
Data | loadCertificate (Region ®ion, const std::string &id) |
| Load a certificate from the KeyChain. More...
|
|
Data | inputCertificate (Region ®ion, EcPublicKey *pub=nullptr, std::istream &is=std::cin) |
| Load a certificate in binary format from input stream. More...
|
|
Face & | openUplink () |
| Open uplink face. More...
|
|