#include <fcntl.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include "common/crypto/key_generator.h"#include "common/crypto/signature_verifier.h"Go to the source code of this file.
Functions | |
| void | WriteKey (const std::string &key, const std::string &file_name) |
| KeyInfo | ReadKey (const std::string &file_name) |
| CertificateInfo | GenerateCertificateInfo (const KeyInfo &admin_pub_key, const KeyInfo &pri_key, const KeyInfo &pub_key, int64_t node_id) |
| int | main (int argc, char **argv) |
| CertificateInfo GenerateCertificateInfo | ( | const KeyInfo & | admin_pub_key, |
| const KeyInfo & | pri_key, | ||
| const KeyInfo & | pub_key, | ||
| int64_t | node_id | ||
| ) |
Definition at line 65 of file certificate_tools.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 75 of file certificate_tools.cpp.
| KeyInfo ReadKey | ( | const std::string & | file_name | ) |
Definition at line 42 of file certificate_tools.cpp.
| void WriteKey | ( | const std::string & | key, |
| const std::string & | file_name | ||
| ) |
Definition at line 30 of file certificate_tools.cpp.