certificate.cpp (ebd21ba4fc36577a70cad207e42d66594b73ed13) | certificate.cpp (b3dbfb37a6624153d5c27d87fc07d95e36bef352) |
---|---|
1#include "config.h" 2 3#include "certificate.hpp" 4 5#include "certs_manager.hpp" 6#include "x509_utils.hpp" 7 8#include <openssl/asn1.h> --- 214 unchanged lines hidden (view full) --- 223 return generateAuthCertFilePath(certSrcFilePath); 224 } 225 else 226 { 227 return certInstallPath; 228 } 229} 230 | 1#include "config.h" 2 3#include "certificate.hpp" 4 5#include "certs_manager.hpp" 6#include "x509_utils.hpp" 7 8#include <openssl/asn1.h> --- 214 unchanged lines hidden (view full) --- 223 return generateAuthCertFilePath(certSrcFilePath); 224 } 225 else 226 { 227 return certInstallPath; 228 } 229} 230 |
231Certificate::Certificate(sdbusplus::bus::bus& bus, const std::string& objPath, | 231Certificate::Certificate(sdbusplus::bus_t& bus, const std::string& objPath, |
232 CertificateType type, const std::string& installPath, 233 const std::string& uploadPath, Watch* watch, 234 Manager& parent) : 235 internal::CertificateInterface( 236 bus, objPath.c_str(), 237 internal::CertificateInterface::action::defer_emit), 238 objectPath(objPath), certType(type), certInstallPath(installPath), 239 certWatch(watch), manager(parent) --- 21 unchanged lines hidden (view full) --- 261 certFilePath = generateCertFilePath(uploadPath); 262 263 // install the certificate 264 install(uploadPath); 265 266 this->emit_object_added(); 267} 268 | 232 CertificateType type, const std::string& installPath, 233 const std::string& uploadPath, Watch* watch, 234 Manager& parent) : 235 internal::CertificateInterface( 236 bus, objPath.c_str(), 237 internal::CertificateInterface::action::defer_emit), 238 objectPath(objPath), certType(type), certInstallPath(installPath), 239 certWatch(watch), manager(parent) --- 21 unchanged lines hidden (view full) --- 261 certFilePath = generateCertFilePath(uploadPath); 262 263 // install the certificate 264 install(uploadPath); 265 266 this->emit_object_added(); 267} 268 |
269Certificate::Certificate(sdbusplus::bus::bus& bus, const std::string& objPath, | 269Certificate::Certificate(sdbusplus::bus_t& bus, const std::string& objPath, |
270 const CertificateType& type, 271 const std::string& installPath, X509_STORE& x509Store, 272 const std::string& pem, Watch* watchPtr, 273 Manager& parent) : 274 internal::CertificateInterface( 275 bus, objPath.c_str(), 276 internal::CertificateInterface::action::defer_emit), 277 objectPath(objPath), certType(type), certInstallPath(installPath), --- 426 unchanged lines hidden --- | 270 const CertificateType& type, 271 const std::string& installPath, X509_STORE& x509Store, 272 const std::string& pem, Watch* watchPtr, 273 Manager& parent) : 274 internal::CertificateInterface( 275 bus, objPath.c_str(), 276 internal::CertificateInterface::action::defer_emit), 277 objectPath(objPath), certType(type), certInstallPath(installPath), --- 426 unchanged lines hidden --- |