CertificateKeyUsages CertificateKeyUsages CertificateKeyUsages CertificateKeyUsages Class

Definition

Represents the usages of a certificate key.

public : sealed class CertificateKeyUsages : ICertificateKeyUsagespublic sealed class CertificateKeyUsages : ICertificateKeyUsagesPublic NotInheritable Class CertificateKeyUsages Implements ICertificateKeyUsages// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CertificateKeyUsages() CertificateKeyUsages() CertificateKeyUsages() CertificateKeyUsages()

Creates a new instance of the CertificateKeyUsages class.

public : CertificateKeyUsages()public CertificateKeyUsages()Public Sub New()// You can use this method in JavaScript.

Properties

CrlSign CrlSign CrlSign CrlSign

Gets or sets if the key is for cRLSign.

public : PlatForm::Boolean CrlSign { get; set; }public bool CrlSign { get; set; }Public ReadWrite Property CrlSign As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for cRLSign; otherwise, false.

DataEncipherment DataEncipherment DataEncipherment DataEncipherment

Gets or sets if the key is for data encipherment.

public : PlatForm::Boolean DataEncipherment { get; set; }public bool DataEncipherment { get; set; }Public ReadWrite Property DataEncipherment As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for data encipherment; otherwise, false.

DigitalSignature DigitalSignature DigitalSignature DigitalSignature

Gets or sets if the key is for digital signature.

public : PlatForm::Boolean DigitalSignature { get; set; }public bool DigitalSignature { get; set; }Public ReadWrite Property DigitalSignature As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for digital signature; otherwise, false.

EncipherOnly EncipherOnly EncipherOnly EncipherOnly

Gets or sets if the key is for encipher only.

public : PlatForm::Boolean EncipherOnly { get; set; }public bool EncipherOnly { get; set; }Public ReadWrite Property EncipherOnly As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for encipher only; otherwise, false.

KeyAgreement KeyAgreement KeyAgreement KeyAgreement

Gets or sets if the key is for key agreement.

public : PlatForm::Boolean KeyAgreement { get; set; }public bool KeyAgreement { get; set; }Public ReadWrite Property KeyAgreement As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for key agreement; otherwise, false.

KeyCertificateSign KeyCertificateSign KeyCertificateSign KeyCertificateSign

Gets or sets if the key is for key certificate sign.

public : PlatForm::Boolean KeyCertificateSign { get; set; }public bool KeyCertificateSign { get; set; }Public ReadWrite Property KeyCertificateSign As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for key certificate sign; otherwise, false.

KeyEncipherment KeyEncipherment KeyEncipherment KeyEncipherment

Gets or sets if the key is for key encipherment.

public : PlatForm::Boolean KeyEncipherment { get; set; }public bool KeyEncipherment { get; set; }Public ReadWrite Property KeyEncipherment As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for key encipherment; otherwise, false.

NonRepudiation NonRepudiation NonRepudiation NonRepudiation

Gets or sets if the key is for non-repudiation.

public : PlatForm::Boolean NonRepudiation { get; set; }public bool NonRepudiation { get; set; }Public ReadWrite Property NonRepudiation As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the key is for non-repudiation; otherwise, false.