Remove deprecated API wrapper(LoadFromPkcs12File)
authorKyungwook Tak <k.tak@samsung.com>
Fri, 19 Aug 2016 07:32:53 +0000 (16:32 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Fri, 19 Aug 2016 07:32:53 +0000 (16:32 +0900)
ckmc_load_from_pkcs12_file is deprecated since 2.4

Change-Id: I19a18b0e9f6bb0c872add1f846a04224711cc81b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs

index bcc0f99..da427c1 100644 (file)
@@ -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);