-# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
-Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved.
Apache License
Version 2.0, January 2004
-# Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
INSTALL(FILES
${CMAKE_CURRENT_SOURCE_DIR}/webauthn.h
${CMAKE_CURRENT_SOURCE_DIR}/webauthn-types.h
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file webauthn-hal.h
* @version 1.0
* @brief APIs for hardware abstraction layer of WebAuthn Authenticator.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
- * @file webauthn.h
+ *
+ * @file webauthn-types.h
* @version 1.0
- * @brief Public APIs of WebAuthn module.
+ * @brief Internal types of WebAuthn module
*/
#ifndef __WEBAUTHN_TYPES__
#define __WEBAUTHN_TYPES__
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file webauthn.h
* @version 1.0
- * @brief Public APIs of WebAuthn module.
+ * @brief Public APIs of WebAuthn module
*/
#ifndef __WEBAUTHN__
#define __WEBAUTHN__
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
############################ Add Sub Directories ################################
ADD_SUBDIRECTORY(client)
ADD_SUBDIRECTORY(common)
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
PKG_CHECK_MODULES(CLIENT_DEPS
REQUIRED
dlog
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file client-request-mc.h
+ * @file client-request-ga.h
* @version 1.0
* @brief Helper class wrapping client communication with the service
* for the get assertion request
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
PKG_CHECK_MODULES(COMMON_DEPS
REQUIRED
dlog
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file connection.cpp
* @version 1.0
* @brief This file is implementation of common connection functions
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file connection.h
* @version 1.0
* @brief This file constains declarations of connection-related functions
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-
-/*
- * @file errno_string.h
+ *
+ *
+ * @file errno_string.cpp
* @version 1.0
* @brief This file is the implementation file of errno string
*/
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-
-/*
+ *
+ *
* @file errno_string.h
* @version 1.0
* @brief This file is the header file of errno string
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
- * @file exception.h
+ *
+ *
+ * @file exception.cpp
* @version 1.0
* @brief This file is the implementation of exception system
*/
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file exception.h
* @version 1.0
* @brief This file is the header file for base exception
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-
-/*
+ *
+ *
* @file file-lock.cpp
* @version 1.0
* @brief Implementation of simple file locking for a service
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved.
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-
-/*
+ *
+ *
* @file file-lock.h
* @version 1.0
* @brief Implementation of simple file locking for a service
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-
-/*
+ *
+ *
* @file free_deleter.h
* @version 1.0
- * @brief This file is the implementation file deleter with use std::free()
+ * @brief This file is the implementation file of deleter with use of std::free()
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file serialization.cpp
+ * @version 1.0
+ * @brief This file is the implementation file of data serialization.
*/
#include <cstring>
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file serialization.h
* @version 1.0
* @brief Interfaces and templates used for data serialization.
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved.
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-
-/*
+ *
+ *
* @file service-file-locker.cpp
* @version 1.0
* @brief This file is the implementation file of service file locker
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved.
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-
-/*
+ *
+ *
* @file service-file-locker.h
* @version 1.0
* @brief This file is the header file of service file locker
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file singleton.cpp
* @version 1.0
* @brief This file is the implementation file of singleton
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file singleton.h
* @version 1.0
* @brief This file is the header file of singleton
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-
-/*
+ *
+ *
* @file utils.cpp
* @version 1.0
* @brief Implementation of utility functions
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-
-/*
+ *
+ *
* @file utils.h
* @version 1.0
* @brief Utility functions, macros and templates
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file wauthn-error.cpp
* @version 1.0
* @brief Error related functions
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file webauthn-log.cpp
* @version 1.0
* @brief This file is the implementation file of DLOG
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */
-/*
+ *
+ *
* @file webauthn-log.h
* @version 1.0
* @brief This file is the header file of DLOG
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
PKG_CHECK_MODULES(SERVER_DEPS
REQUIRED
dlog
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file dl-loader.cpp
* @version 1.0
* @brief Implementation of Dynamic Library Loader
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file dl-loader.h
* @version 1.0
* @brief Header of Dynamic Library Loader
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @file main.cpp
* @version 1.0
- * @brief Implementation of webauthn
+ * @brief Implementation of webauthn server
*/
#include <signal.h>
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file request-ga.h
+ * @version 1.0
+ * @brief Header of Request Get Assertion on server
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file request-mc.h
+ * @version 1.0
+ * @brief Header of Request Make Credential on server
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file request.h
+ * @version 1.0
+ * @brief Header of Request on server
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file service.cpp
* @version 1.0
* @brief Implementation of webauthn service
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file service.h
* @version 1.0
- * @brief Implementation of webauthn service
+ * @brief Header of webauthn service
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file socket-manager.cpp
* @version 1.0
* @brief Implementation of SocketManager
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License
*
+ *
* @file socket-manager.h
* @version 1.0
- * @brief SocketManager implementation.
+ * @brief Header of SocketManager.
*/
#pragma once
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/systemd/${SERVICE_NAME}.service.in
${CMAKE_SOURCE_DIR}/systemd/${SERVICE_NAME}.service @ONLY)
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/systemd/${SERVICE_NAME}.socket.in
+# Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file CMakeLists.txt
+#
+
PKG_CHECK_MODULES(UNIT_TESTS_DEPS
REQUIRED
dlog
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file socket-manager-test.cpp
+ * @file client-request-test.cpp
* @version 1.0
- * @brief unit tests for socket-manager
+ * @brief Unit tests for client-request
*/
#include <gtest/gtest.h>
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @file dl-loader-test.cpp
* @version 1.0
- * @brief unit tests for dl-loader
+ * @brief Unit tests for dl-loader
*/
#include <gtest/gtest.h>
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file dl-loader-test.cpp
+ * @file file-lock-test.cpp
* @version 1.0
- * @brief unit tests for dl-loader
+ * @brief Unit tests for file-locker
*/
#include <file-lock.h>
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file man_tests.cpp
+ * @version 1.0
+ * @brief Manual tests for webauthn default functionality
*/
#include <cstring>
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file turn_bluetooth.cpp
+ * @version 1.0
+ * @brief Implementation of turn_bluetooth for test
*/
#include <bluetooth.h>
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file turn_bluetooth.h
+ * @version 1.0
+ * @brief Header of turn_bluetooth for test
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
+ *
+ *
+ * @file serialization-test.cpp
+ * @version 1.0
+ * @brief Unit tests for serialization
*/
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @file socket-manager-test.cpp
* @version 1.0
- * @brief unit tests for socket-manager
+ * @brief Unit tests for socket-manager
*/
#include "test-common.h"
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file test-common.h
+ * @file test-common.cpp
* @version 1.0
- * @brief common header for test
+ * @brief Common implementation for test
*/
#include "test-common.h"
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @file test-common.h
* @version 1.0
- * @brief common header for test
+ * @brief Common header for test
*/
#pragma once
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file main.cpp
+ * @file unittests.cpp
* @version 1.0
- * @brief unit tests for webauthn
+ * @brief Unit tests for webauthn
*/
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License
*
*
- * @file dl-loader-test.cpp
+ * @file utils-test.cpp
* @version 1.0
- * @brief unit tests for dl-loader
+ * @brief Unit tests for utils
*/
#include <gtest/gtest.h>
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2023 - 2024 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @file webauthn-client-test.cpp
* @version 1.0
- * @brief unit tests for webauthn client api
+ * @brief Unit tests for webauthn client api
*/
#include <gtest/gtest.h>