X509ExtensionExtensionsConvertExtension Method
Converts default instance of
X509Extension class to a specific extension implementation object.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static X509Extension ConvertExtension(
this X509Extension extension
)
<ExtensionAttribute>
Public Shared Function ConvertExtension (
extension As X509Extension
) As X509Extension
public:
[ExtensionAttribute]
static X509Extension^ ConvertExtension(
X509Extension^ extension
)
[<ExtensionAttribute>]
static member ConvertExtension :
extension : X509Extension -> X509Extension
- extension X509Extension
- Default instance of X509Extension class.
X509ExtensionExplicit extension implementation if defined, otherwise, the same object is returned.In Visual Basic and C#, you can call this method as an instance method on any object of type
X509Extension. 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).