SysadminsLV.PKI.Structs Namespace

[Missing <summary> documentation for "N:SysadminsLV.PKI.Structs"]

Classes

SafeCryptoApiBlobContext

SafeCryptoApiBlobContext provides a SafeHandle class for an CRYPTOAPI_BLOB structure. This can be used instead of the raw IntPtr to avoid races with the garbage collector, ensuring that the CRYPTOAPI_BLOB object is not cleaned up from underneath you while you are still using the handle pointer.

This safe handle type represents a native CRYPTOAPI_BLOB.

A SafeCryptoApiBlobContext for a Wincrypt.CRYPTOAPI_BLOB can be obtained by calling the GetSafeContext method.

SafeUnmanagedContext

SafeUnmanagedContext provides a SafeHandle class for an unmanaged buffer. This can be used instead of the raw IntPtr to avoid races with the garbage collector, ensuring that the buffer object is not cleaned up from underneath you while you are still using the handle pointer.

SafeUnmanagedContextTStruct

SafeUnmanagedContext provides a SafeHandle class for an unmanaged buffer. This can be used instead of the raw IntPtr to avoid races with the garbage collector, ensuring that the buffer object is not cleaned up from underneath you while you are still using the handle pointer.