Creates a key usage extension (2.5.29.15).

Namespace:  Rebex.Security.Certificates
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Shared Function KeyUsage ( _
	usage As KeyUses _
) As CertificateExtension
C#
public static CertificateExtension KeyUsage(
	KeyUses usage
)

Parameters

usage
Type: Rebex.Security.Certificates..::..KeyUses
Key usage flags.

Return Value

An extension object.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also