From 69906fc9381a9fea80578ba5b44f2e796c3cd42b Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Fri, 19 Aug 2016 16:32:53 +0900 Subject: [PATCH] Remove deprecated API wrapper(LoadFromPkcs12File) ckmc_load_from_pkcs12_file is deprecated since 2.4 Change-Id: I19a18b0e9f6bb0c872add1f846a04224711cc81b Signed-off-by: Kyungwook Tak --- Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs b/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs index bcc0f99..da427c1 100644 --- a/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs +++ b/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs @@ -138,10 +138,6 @@ internal static partial class Interop public static extern int Pkcs12New(string filePath, out IntPtr cert); // int ckmc_pkcs12_new(ckmc_key_s *private_key, ckmc_cert_s* cert, ckmc_cert_list_s *ca_cert_list, ckmc_pkcs12_s** pkcs12_bundle); - [DllImport(Libraries.KeyManager, EntryPoint = "ckmc_load_from_pkcs12_file", CallingConvention = CallingConvention.Cdecl)] - public static extern int LoadFromPkcs12File(string filePath, string password, out IntPtr privateKey, out IntPtr cert, out IntPtr caCertList); - // int ckmc_load_from_pkcs12_file(const char *file_path, const char* passphrase, ckmc_key_s **private_key, ckmc_cert_s** cert, ckmc_cert_list_s **ca_cert_list); - [DllImport(Libraries.KeyManager, EntryPoint = "ckmc_pkcs12_load", CallingConvention = CallingConvention.Cdecl)] public static extern int Pkcs12Load(string filePath, string password, out IntPtr pkcs12); // int ckmc_pkcs12_load(const char *file_path, const char* passphrase, ckmc_pkcs12_s **pkcs12_bundle); -- 2.7.4