CertificateExtension CertificateExtension CertificateExtension CertificateExtension Class

Definition

Represents a certificate extension.

public : sealed class CertificateExtension : ICertificateExtensionpublic sealed class CertificateExtension : ICertificateExtensionPublic NotInheritable Class CertificateExtension Implements ICertificateExtension// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Constructors

CertificateExtension() CertificateExtension() CertificateExtension() CertificateExtension()

Creates a new certificateExtension object.

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

Properties

IsCritical IsCritical IsCritical IsCritical

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

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

A boolean indicating if the certificate extension is critical.

ObjectId ObjectId ObjectId ObjectId

Gets or sets the object ID.

public : PlatForm::String ObjectId { get; set; }public string ObjectId { get; set; }Public ReadWrite Property ObjectId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The object ID.

Value Value Value Value

Gets or sets the value of the certificate extension.

public : byte[] Value { get; set; }public byte[] Value { get; set; }Public ReadWrite Property Value As byte[]// You can use this property in JavaScript.
Value
byte[] byte[] byte[] byte[]

The value of the certificate extension.

Methods

EncodeValue(String) EncodeValue(String) EncodeValue(String) EncodeValue(String)

Encodes the string value into the value byte array.

public : void EncodeValue(PlatForm::String value)public void EncodeValue(String value)Public Function EncodeValue(value As String) As void// You can use this method in JavaScript.
Parameters
value
PlatForm::String String String String

The string value to encode.