public static X509Object Create(CertificateTrustList ctl, string storeName, StoreLocation storeLocation) { if (ctl == null) throw new ArgumentNullException("ctl"); return new X509Object(storeName, storeLocation) { Value = ctl, Data = ctl.RawData }; }
public static void ShowCtlDialog(this CertificateTrustList ctl, IntPtr owner, string title) { NativeMethods.CryptUIDlgViewContext( CapiConstants.CERT_STORE_CTL_CONTEXT, ctl.SafeHandle, owner, title, 0, IntPtr.Zero); }
private string GetCtlDisplayName(CertificateTrustList ctl) { if (!string.IsNullOrEmpty(ctl.FriendlyName)) return ctl.FriendlyName; return "Trust List"; }
public CapiCtlWrapper(CertificateTrustList certificateTrustList) { ctl = certificateTrustList; }
public static void ShowCtlDialog(this CertificateTrustList ctl, IntPtr owner) { ShowCtlDialog(ctl, owner, null); }
public static void ShowCtlDialog(this CertificateTrustList ctl, string title) { ShowCtlDialog(ctl, IntPtr.Zero, title); }
public static void ShowCtlDialog(this CertificateTrustList ctl) { ShowCtlDialog(ctl, IntPtr.Zero, null); }