1. add inheritance function 2. remove low-level platform unload cert & pkey function 3. optimize the cert load and free function
1. add inheritance function 2. remove low-level platform unload cert & pkey function 3. optimize the cert load and free function