Created
March 8, 2013 13:56
-
-
Save jfromaniello/5116591 to your computer and use it in GitHub Desktop.
I need to know what these two do exactly. I guess they serialize/deserialize ```cer``` certificates somehow, but not sur how. Thanks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DllImport("ifsutils.dll")] | |
private static int WsDeserializeTrustPolicyStore([MarshalAs(UnmanagedType.Bool)] bool UpdateMachineStore, [MarshalAs(UnmanagedType.LPArray)] byte[] pSerializedStore, [MarshalAs(UnmanagedType.U4)] int cbSerializedStore, out System.Web.Security.SingleSignOn.SafeCertStoreHandle phCertStore); | |
[DllImport("ifsutils.dll")] | |
private static int WsSerializeTrustPolicyStore(System.Web.Security.SingleSignOn.SafeCertStoreHandle hCertStore, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr)] string[] Thumbprints, [MarshalAs(UnmanagedType.U4)] int cThumbprints, out CriticalLocalMemHandle pSerializedStore, out int pcbSerializedStore); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment