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