CryptographyUtilsConvertExtension Method |
Converts default instance of
X509Extension class to a specific extension implementation object.
Namespace:
PKI.Utils
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static X509Extension ConvertExtension(
X509Extension extension
)
Public Shared Function ConvertExtension (
extension As X509Extension
) As X509Extension
public:
static X509Extension^ ConvertExtension(
X509Extension^ extension
)
static member ConvertExtension :
extension : X509Extension -> X509Extension
Parameters
- extension
- Type: System.Security.Cryptography.X509CertificatesX509Extension
Default instance of X509Extension class.
Return Value
Type:
X509ExtensionExplicit extension implementation if defined, otherwise, the same object is returned.
See Also