X509Certificate2ExtensionsResolveExtensions Method
Converts generic X.509 extension objects to specialized certificate extension objects
inherited from
X509Extension class that provide extension-specific information.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static X509ExtensionCollection ResolveExtensions(
this X509Certificate2 cert
)
<ExtensionAttribute>
Public Shared Function ResolveExtensions (
cert As X509Certificate2
) As X509ExtensionCollection
public:
[ExtensionAttribute]
static X509ExtensionCollection^ ResolveExtensions(
X509Certificate2^ cert
)
[<ExtensionAttribute>]
static member ResolveExtensions :
cert : X509Certificate2 -> X509ExtensionCollection
- cert X509Certificate2
- Certificate.
X509ExtensionCollectionA collection of certificate extensionsIn 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).
This method can transform the following X.509 certificate extensions:
Non-supported extensions will be returned as an
X509Extension object.