| 44 | } |
| 45 | |
| 46 | int PkiUtility::NewCert(const String& cn, const String& keyfile, const String& csrfile, const String& certfile) |
| 47 | { |
| 48 | try { |
| 49 | MakeX509CSR(cn, keyfile, csrfile, certfile); |
| 50 | } catch(std::exception&) { |
| 51 | return 1; |
| 52 | } |
| 53 | |
| 54 | return 0; |
| 55 | } |
| 56 | |
| 57 | int PkiUtility::SignCsr(const String& csrfile, const String& certfile) |
| 58 | { |
nothing calls this directly
no test coverage detected