Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

CertificateInfo.Usage Property

Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 8.0.9673)

Usage

Gets or sets the basic certificate usage ("key usage" extension).

Declaration
public KeyUses Usage { get; set; }
Property Value
Type Description
KeyUses

Basic certificate usage.

Remarks

If Usage is set to zero, the "key usage" extension will not be created. However, it is still possible to include "key usage" extension in the certificate using the Extensions collection. In such case the KeyUsage(KeyUses, Boolean) can be used to create the "key usage" extension.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies