internal X509Certificate2Impl ImportFallback(byte[] data, string password, X509KeyStorageFlags keyStorageFlags) { var impl = new X509Certificate2ImplMono(); impl.Import(data, password, keyStorageFlags); return(impl); }
internal X509Certificate2Impl ImportFallback(byte[] data) { data = ConvertData(data); var impl = new X509Certificate2ImplMono(); impl.Import(data, null, X509KeyStorageFlags.DefaultKeySet); return(impl); }
internal X509Certificate2Impl ImportFallback(byte[] data) { data = ConvertData(data); var impl = new X509Certificate2ImplMono(); using (var handle = new SafePasswordHandle((string)null)) impl.Import(data, handle, X509KeyStorageFlags.DefaultKeySet); return(impl); }