X509Certificate2ExtensionsResolveExtensions Method

Converts generic X.509 extension objects to specialized certificate extension objects inherited from X509Extension class that provide extension-specific information.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static X509ExtensionCollection ResolveExtensions(
	this X509Certificate2 cert
)

Parameters

cert  X509Certificate2
Certificate.

Return Value

X509ExtensionCollection
A collection of certificate extensions

Usage Note

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

Remarks

Exceptions

ArgumentNullExceptioncert parameter is null reference.

See Also