summaryrefslogtreecommitdiff
path: root/src/components/include/security_manager
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/security_manager')
-rw-r--r--src/components/include/security_manager/crypto_manager.h22
-rw-r--r--src/components/include/security_manager/security_manager.h2
-rw-r--r--src/components/include/security_manager/security_query.h8
-rw-r--r--src/components/include/security_manager/ssl_context.h14
4 files changed, 23 insertions, 23 deletions
diff --git a/src/components/include/security_manager/crypto_manager.h b/src/components/include/security_manager/crypto_manager.h
index 486b6da64f..ba50820a81 100644
--- a/src/components/include/security_manager/crypto_manager.h
+++ b/src/components/include/security_manager/crypto_manager.h
@@ -45,7 +45,7 @@
**security_manager::CryptoManager::CreateSSLContext()
* \brief Creates an instance of \ref SSLContext class
*
- * \fn void
+ * \fn void
*security_manager::CryptoManager::ReleaseSSLContext(security_manager::SSLContext
**context)
* \brief Frees \ref SSLContext instance
@@ -67,19 +67,19 @@ class CryptoManager : public policy::PolicyHandlerObserver {
virtual void ReleaseSSLContext(SSLContext* context) = 0;
virtual std::string LastError() const = 0;
/**
- * @brief IsCertificateUpdateRequired checks if certificate update is needed
- * @param system_time - time with which certificate expiration time
- * should be compared
- * @param certificates_time - certificate expiration time
- * @return True if certificate expired and need to be updated
- * otherwise False
- */
+ * @brief IsCertificateUpdateRequired checks if certificate update is needed
+ * @param system_time - time with which certificate expiration time
+ * should be compared
+ * @param certificates_time - certificate expiration time
+ * @return True if certificate expired and need to be updated
+ * otherwise False
+ */
virtual bool IsCertificateUpdateRequired(
const time_t system_time, const time_t certificates_time) const = 0;
/**
- * \brief Crypto manager settings getter
- * \return pointer to crypto manager settings class
- */
+ * \brief Crypto manager settings getter
+ * \return pointer to crypto manager settings class
+ */
virtual const CryptoManagerSettings& get_settings() const = 0;
virtual ~CryptoManager() {}
};
diff --git a/src/components/include/security_manager/security_manager.h b/src/components/include/security_manager/security_manager.h
index 61ba43c74f..e02a3a1cbe 100644
--- a/src/components/include/security_manager/security_manager.h
+++ b/src/components/include/security_manager/security_manager.h
@@ -40,8 +40,8 @@
#include "protocol_handler/protocol_observer.h"
#include "protocol_handler/session_observer.h"
-#include "security_manager/security_manager_listener.h"
#include "application_manager/policies/policy_handler_observer.h"
+#include "security_manager/security_manager_listener.h"
namespace security_manager {
diff --git a/src/components/include/security_manager/security_query.h b/src/components/include/security_manager/security_query.h
index 8aa5b60853..5e66466663 100644
--- a/src/components/include/security_manager/security_query.h
+++ b/src/components/include/security_manager/security_query.h
@@ -35,9 +35,9 @@
#include <stdint.h>
#include <cstddef>
-#include <vector>
-#include <string>
#include <memory>
+#include <string>
+#include <vector>
namespace security_manager {
/**
@@ -187,8 +187,8 @@ class SecurityQuery {
std::string json_message_;
};
/**
-*\brief SmartPointer wrapper
-*/
+ *\brief SmartPointer wrapper
+ */
typedef std::shared_ptr<SecurityQuery> SecurityQueryPtr;
} // namespace security_manager
#endif // SRC_COMPONENTS_INCLUDE_SECURITY_MANAGER_SECURITY_QUERY_H_
diff --git a/src/components/include/security_manager/ssl_context.h b/src/components/include/security_manager/ssl_context.h
index 7d52c72abe..397cf89347 100644
--- a/src/components/include/security_manager/ssl_context.h
+++ b/src/components/include/security_manager/ssl_context.h
@@ -33,10 +33,10 @@
#ifndef SRC_COMPONENTS_INCLUDE_SECURITY_MANAGER_SSL_CONTEXT_H_
#define SRC_COMPONENTS_INCLUDE_SECURITY_MANAGER_SSL_CONTEXT_H_
-#include <cstddef> // for size_t typedef
-#include <string>
#include <ctype.h>
#include <algorithm>
+#include <cstddef> // for size_t typedef
+#include <string>
#include "utils/custom_string.h"
// TODO(EZamakhov): update brief info
@@ -106,11 +106,11 @@ class SSLContext {
virtual bool IsInitCompleted() const = 0;
virtual bool IsHandshakePending() const = 0;
/**
- * @brief GetCertificateDueDate gets certificate expiration date
- * @param due_date - certificate expiration time to be received
- * @return True if certificate expiration date received
- * otherwise False
- */
+ * @brief GetCertificateDueDate gets certificate expiration date
+ * @param due_date - certificate expiration time to be received
+ * @return True if certificate expiration date received
+ * otherwise False
+ */
virtual bool GetCertificateDueDate(time_t& due_date) const = 0;
virtual bool HasCertificate() const = 0;
virtual size_t get_max_block_size(size_t mtu) const = 0;