Pkcs9AttributeObject 构造函数

定义

初始化 Pkcs9AttributeObject 类的新实例。

重载

名称 说明
Pkcs9AttributeObject()

初始化 Pkcs9AttributeObject 类的新实例。

Pkcs9AttributeObject(AsnEncodedData)

使用指定Pkcs9AttributeObject对象作为其属性类型和值初始化类的新实例AsnEncodedData

Pkcs9AttributeObject(Oid, Byte[])

使用指定Pkcs9AttributeObject对象作为特性类型初始化类的新实例Oid,并将指定的 ASN.1 编码数据用作属性值。

Pkcs9AttributeObject(String, Byte[])

使用对象标识符 (OID) 的指定字符串表示形式作为属性类型和指定的 ASN.1 编码数据作为属性值初始化类的新实例 Pkcs9AttributeObject

Pkcs9AttributeObject()

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

初始化 Pkcs9AttributeObject 类的新实例。

public:
 Pkcs9AttributeObject();
public Pkcs9AttributeObject();
Public Sub New ()

适用于

Pkcs9AttributeObject(AsnEncodedData)

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

使用指定Pkcs9AttributeObject对象作为其属性类型和值初始化类的新实例AsnEncodedData

public:
 Pkcs9AttributeObject(System::Security::Cryptography::AsnEncodedData ^ asnEncodedData);
public Pkcs9AttributeObject(System.Security.Cryptography.AsnEncodedData asnEncodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (asnEncodedData As AsnEncodedData)

参数

asnEncodedData
AsnEncodedData

包含要使用的 PKCS #9 属性类型和值的对象。

例外

成员ValueOid长度asnEncodedData为零。

成员 OidasnEncodedDatanull.

-或-

成员Value的成员OidasnEncodedDatanull.

适用于

Pkcs9AttributeObject(Oid, Byte[])

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

使用指定Pkcs9AttributeObject对象作为特性类型初始化类的新实例Oid,并将指定的 ASN.1 编码数据用作属性值。

public:
 Pkcs9AttributeObject(System::Security::Cryptography::Oid ^ oid, cli::array <System::Byte> ^ encodedData);
public Pkcs9AttributeObject(System.Security.Cryptography.Oid oid, byte[] encodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : System.Security.Cryptography.Oid * byte[] -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (oid As Oid, encodedData As Byte())

参数

oid
Oid

一个表示 PKCS #9 属性类型的对象。

encodedData
Byte[]

表示 PKCS #9 属性值的字节值的数组。

适用于

Pkcs9AttributeObject(String, Byte[])

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

使用对象标识符 (OID) 的指定字符串表示形式作为属性类型和指定的 ASN.1 编码数据作为属性值初始化类的新实例 Pkcs9AttributeObject

public:
 Pkcs9AttributeObject(System::String ^ oid, cli::array <System::Byte> ^ encodedData);
public Pkcs9AttributeObject(string oid, byte[] encodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : string * byte[] -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (oid As String, encodedData As Byte())

参数

oid
String

表示 PKCS #9 属性类型的 OID 的字符串表示形式。

encodedData
Byte[]

包含 PKCS #9 属性值的字节值的数组。

适用于