The CertCreateCTLContext function creates a certificate trust list (CTL) context from an encoded CTL. The created context is not persisted to a certificate store. The function makes a copy of the encoded CTL within the created context.
8/8/2009 11:36:15 PM - -24.16.153.89
.
public static extern IntPtr CertCreateCTLContext(uint dwMsgAndCertEncodingType, IntPtr pbCtlEncoded, uint cbCtlEncoded);
.
IntPtr ctlContextPtr = CertCreateCTLContext(
.
throw new Win32Exception(Marshal.GetLastWin32Error(), "CertCreateCTLContext");