22 #ifndef CA_MGM_LOCAL_MANAGEMENT_HPP 23 #define CA_MGM_LOCAL_MANAGEMENT_HPP 25 #include <ca-mgm/config.h> 32 namespace CA_MGM_NAMESPACE {
55 importAsLocalCertificate(
const std::string &pkcs12File,
56 const std::string &password,
57 const std::string &destinationCAsDir,
58 const std::string &destinationCertFile,
59 const std::string &destinationKeyFile);
73 const std::string &password,
74 const std::string &destinationCAsDir,
75 const std::string &destinationCertFile,
76 const std::string &destinationKeyFile);
89 importCommonServerCertificate(
const std::string &pkcs12File,
90 const std::string &password);
104 const std::string &password);
115 getCertificate(
const std::string &file,
139 getRequest(
const std::string &file,
164 getCRL(
const std::string &file,
189 readFile(
const std::string& file);
203 const std::string &file,
204 bool overwrite =
true,
239 const std::string &inPassword,
240 const std::string &outPassword,
241 const std::string &algorithm =
"des3" );
287 const std::string &inPassword,
288 const std::string &outPassword,
290 const std::string &caPath,
291 bool withChain =
false);
306 const std::string &inPassword,
307 const std::string &outPassword,
308 const std::string &algorithm =
"des3");
311 #endif //CA_MGM_LOCAL_MANAGEMENT_HPP
Read-only data representation of a request.
Definition: RequestData.hpp:42
Read-only data representation of a CRL.
Definition: CRLData.hpp:79
FormatType
Definition: CommonData.hpp:49
Read-only data representation of a certificate.
Definition: CertificateData.hpp:41
Functions for local certificate management.
Definition: LocalManagement.hpp:40
Buffer for storing binary data.
Definition: ByteBuffer.hpp:55