X509CertificateTrustListExtensionsGetSafeContext Method

Gets a SafeCTLHandleContext for the X509 certificate revocation list. The caller of this method owns the returned safe handle, and should dispose of it when they no longer need it. This handle can be used independently of the lifetime of the original X509 certificate revocation list.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static SafeCTLHandleContext GetSafeContext(
	this X509CertificateTrustList ctl
)

Parameters

ctl  X509CertificateTrustList

[Missing <param name="ctl"/> documentation for "M:SysadminsLV.PKI.Cryptography.X509Certificates.X509CertificateTrustListExtensions.GetSafeContext(SysadminsLV.PKI.Cryptography.X509Certificates.X509CertificateTrustList)"]

Return Value

SafeCTLHandleContext
Safe handle to a current CTL instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509CertificateTrustList. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

SecurityPermission The immediate caller must have SecurityPermission/UnmanagedCode to use this method

See Also