1 instantiation of SafeX509StackHandle
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
84SafeHandleCache<SafeX509StackHandle>.GetInvalidHandle(() => new SafeX509StackHandle());
43 references to SafeX509StackHandle
System.Net.Security (43)
_generated\0\LibraryImports.g.cs (24)
1885internal static partial bool PushX509StackField(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle stack, global::Microsoft.Win32.SafeHandles.SafeX509Handle x509) 1895global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __stack_native__marshaller = new(); 6373private static partial global::Microsoft.Win32.SafeHandles.SafeX509StoreHandle CryptoNative_X509ChainNew(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle systemTrust, global::Microsoft.Win32.SafeHandles.SafeX509StackHandle userTrust) 6384global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __userTrust_native__marshaller = new(); 6385global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __systemTrust_native__marshaller = new(); 6525internal static partial bool X509StoreCtxInit(global::Microsoft.Win32.SafeHandles.SafeX509StoreCtxHandle ctx, global::Microsoft.Win32.SafeHandles.SafeX509StoreHandle store, global::Microsoft.Win32.SafeHandles.SafeX509Handle x509, global::Microsoft.Win32.SafeHandles.SafeX509StackHandle extraCerts) 6536global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __extraCerts_native__marshaller = new(); 7267internal static partial global::Microsoft.Win32.SafeHandles.SafeX509StackHandle NewX509Stack() 7272global::Microsoft.Win32.SafeHandles.SafeX509StackHandle __retVal = default; 7275global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 7318internal static partial int GetX509StackFieldCount(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle stack) 7325global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __stack_native__marshaller = new(); 7392internal static partial nint GetX509StackField(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle stack, int loc) 7399global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __stack_native__marshaller = new(); 7466private static partial int CryptoNative_X509StackAddDirectoryStore(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle stack, string storePath) 7475global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __stack_native__marshaller = new(); 7508private static partial int CryptoNative_X509StackAddMultiple(global::Microsoft.Win32.SafeHandles.SafeX509StackHandle dest, global::Microsoft.Win32.SafeHandles.SafeX509StackHandle src) 7516global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __src_native__marshaller = new(); 7517global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedIn __dest_native__marshaller = new(); 7601internal static partial global::Microsoft.Win32.SafeHandles.SafeX509StackHandle X509StoreCtxGetChain(global::Microsoft.Win32.SafeHandles.SafeX509StoreCtxHandle ctx) 7607global::Microsoft.Win32.SafeHandles.SafeX509StackHandle __retVal = default; 7610global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeX509StackHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
64internal static partial bool PushX509StackField(SafeX509StackHandle stack, SafeX509Handle x509);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (5)
130private static partial SafeX509StoreHandle CryptoNative_X509ChainNew(SafeX509StackHandle systemTrust, SafeX509StackHandle userTrust); 132internal static SafeX509StoreHandle X509ChainNew(SafeX509StackHandle systemTrust, SafeX509StackHandle userTrust) 171SafeX509StackHandle extraCerts);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (12)
13internal static partial SafeX509StackHandle NewX509Stack(); 19internal static partial int GetX509StackFieldCount(SafeX509StackHandle stack); 29internal static partial IntPtr GetX509StackField(SafeX509StackHandle stack, int loc); 39private static partial int CryptoNative_X509StackAddDirectoryStore(SafeX509StackHandle stack, string storePath); 41internal static void X509StackAddDirectoryStore(SafeX509StackHandle stack, string storePath) 50private static partial int CryptoNative_X509StackAddMultiple(SafeX509StackHandle dest, SafeX509StackHandle src); 52internal static void X509StackAddMultiple(SafeX509StackHandle dest, SafeX509StackHandle src) 83internal static SafeX509StackHandle InvalidHandle => 84SafeHandleCache<SafeX509StackHandle>.GetInvalidHandle(() => new SafeX509StackHandle()); 88if (!SafeHandleCache<SafeX509StackHandle>.IsCachedInvalidHandle(this))
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
19internal static partial SafeX509StackHandle X509StoreCtxGetChain(SafeX509StoreCtxHandle ctx);