Share via


CertificateKeyUsages Class

Definition

Represents the usages of a certificate key.

public ref class CertificateKeyUsages sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateKeyUsages final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CertificateKeyUsages final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CertificateKeyUsages
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CertificateKeyUsages
function CertificateKeyUsages()
Public NotInheritable Class CertificateKeyUsages
Inheritance
Object Platform::Object IInspectable CertificateKeyUsages
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

CertificateKeyUsages()

Creates a new instance of the CertificateKeyUsages class.

Properties

CrlSign

Gets or sets if the key is for cRLSign.

DataEncipherment

Gets or sets if the key is for data encipherment.

DigitalSignature

Gets or sets if the key is for digital signature.

EncipherOnly

Gets or sets if the key is for encipher only.

KeyAgreement

Gets or sets if the key is for key agreement.

KeyCertificateSign

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

KeyEncipherment

Gets or sets if the key is for key encipherment.

NonRepudiation

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

Applies to