CertificateExtension 类

定义

表示证书扩展。

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
继承
Object Platform::Object IInspectable CertificateExtension
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

构造函数

CertificateExtension()

创建新的 certificateExtension 对象。

属性

IsCritical

获取或设置一个布尔值,该值指示证书扩展是否为关键。

ObjectId

获取或设置对象 ID。

Value

获取或设置证书扩展的值。

方法

EncodeValue(String)

将字符串值编码为值字节数组。

适用于