Creates a Key Usage extension.

Namespace: Org.Mentalis.Security.Tools
Assembly:   Org.Mentalis.Security.Tools (in Org.Mentalis.Security.Tools)
Version: 1.0.0.0

Syntax

Visual Basic (Declaration)
Public Shared Function CreateKeyUsageExtension ( _
	keyUsage As KeyUsageExtension _
) As X509Extension
C#
public static X509Extension CreateKeyUsageExtension (
	KeyUsageExtension keyUsage
)
Visual C++
public:
static X509Extension^ CreateKeyUsageExtension (
	KeyUsageExtension keyUsage
)

Parameters

keyUsage
Org.Mentalis.Security.Tools.KeyUsageExtension
One of the KeyUsageExtension values.

Return Value

A X509Extension instance.