diff options
Diffstat (limited to 'src/manager/service/certificate-store.h')
-rw-r--r-- | src/manager/service/certificate-store.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/manager/service/certificate-store.h b/src/manager/service/certificate-store.h index 250e05ea..39c7cc96 100644 --- a/src/manager/service/certificate-store.h +++ b/src/manager/service/certificate-store.h @@ -21,35 +21,35 @@ #include <certificate-impl.h> extern "C" { -struct x509_store_st; -typedef struct x509_store_st X509_STORE; + struct x509_store_st; + typedef struct x509_store_st X509_STORE; } namespace CKM { class CertificateStore { public: - CertificateStore(); - CertificateStore(const CertificateStore &) = delete; - CertificateStore(CertificateStore &&) = delete; - CertificateStore& operator=(CertificateStore &&) = delete; - CertificateStore& operator=(const CertificateStore &) = delete; - virtual ~CertificateStore(); - - int verifyCertificate( - const CertificateImpl &cert, - const CertificateImplVector &untrustedVector, - const CertificateImplVector &trustedVector, - bool useTrustedSystemCertificates, - bool stateCCMode, - CertificateImplVector &chainVector); + CertificateStore(); + CertificateStore(const CertificateStore &) = delete; + CertificateStore(CertificateStore &&) = delete; + CertificateStore &operator=(CertificateStore &&) = delete; + CertificateStore &operator=(const CertificateStore &) = delete; + virtual ~CertificateStore(); + + int verifyCertificate( + const CertificateImpl &cert, + const CertificateImplVector &untrustedVector, + const CertificateImplVector &trustedVector, + bool useTrustedSystemCertificates, + bool stateCCMode, + CertificateImplVector &chainVector); private: - int addSystemCertificateDirs(); - int addSystemCertificateFiles(); - int addCustomTrustedCertificates(const CertificateImplVector &trustedVector); + int addSystemCertificateDirs(); + int addSystemCertificateFiles(); + int addCustomTrustedCertificates(const CertificateImplVector &trustedVector); - X509_STORE* m_store; + X509_STORE *m_store; }; } // namespace CKM |