Udostępnij za pośrednictwem


CertificateExtension Class

Definition

Represents a certificate extension.

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Constructors

CertificateExtension()

Creates a new certificateExtension object.

Properties

IsCritical

Gets or sets a boolean indicating if the certificate extension is critical.

ObjectId

Gets or sets the object ID.

Value

Gets or sets the value of the certificate extension.

Methods

EncodeValue(String)

Encodes the string value into the value byte array.

Applies to