Deprecate ckmc_ocsp_check API 91/261991/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Tue, 27 Jul 2021 06:01:47 +0000 (08:01 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Fri, 30 Jul 2021 07:21:37 +0000 (09:21 +0200)
OCSP test certificate management is problematic, and Tizen platform
has another ocsp API in OpenSSL which can be officially recommended.

Change-Id: Ifc115c300e79a64b65361deaa848ee396e654240

src/include/ckmc/ckmc-manager.h

index 4d90b66..3797156 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 - 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2000 - 2021 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.
@@ -752,6 +752,7 @@ int ckmc_get_cert_chain_with_trustedcert(const ckmc_cert_s *cert, const ckmc_cer
 
 
 /**
+ * @deprecated Deprecated since 6.5. Use raw OpenSSL instead.
  * @brief Perform OCSP that checks certificate is whether revoked or not.
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  * @privlevel public
@@ -771,7 +772,8 @@ int ckmc_get_cert_chain_with_trustedcert(const ckmc_cert_s *cert, const ckmc_cer
  * @see ckmc_get_cert_chain())
  * @see ckmc_cert_list_all_free()
  */
-int ckmc_ocsp_check(const ckmc_cert_list_s *pcert_chain_list, ckmc_ocsp_status_e *ocsp_status);
+int ckmc_ocsp_check(const ckmc_cert_list_s *pcert_chain_list, ckmc_ocsp_status_e *ocsp_status)
+TIZEN_DEPRECATED_API;
 
 
 /**