X509CRL2ExtensionsGetSafeContext Method

Gets a SafeCRLHandleContext 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 SafeCRLHandleContext GetSafeContext(
	this X509CRL2 crl
)

Parameters

crl  X509CRL2

[Missing <param name="crl"/> documentation for "M:SysadminsLV.PKI.Cryptography.X509Certificates.X509CRL2Extensions.GetSafeContext(SysadminsLV.PKI.Cryptography.X509Certificates.X509CRL2)"]

Return Value

SafeCRLHandleContext
Handle to a CRL_CONTEXT structure.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509CRL2. 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