Pkcs9AttributeObject 构造函数

定义

初始化 Pkcs9AttributeObject 类的新实例。

重载

Pkcs9AttributeObject()

初始化 Pkcs9AttributeObject 类的新实例。

Pkcs9AttributeObject(AsnEncodedData)

通过将所指定 Pkcs9AttributeObject 对象用作 AsnEncodedData 类新实例的特性类型及值,对该实例进行初始化。

Pkcs9AttributeObject(Oid, Byte[])

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

Pkcs9AttributeObject(String, Byte[])

通过将指定的对象标识符 (OID) 字符串表示形式用作特性类型,并将指定的 ASN.1 编码数据用作特性值,对 Pkcs9AttributeObject 类的新实例进行初始化。

Pkcs9AttributeObject()

初始化 Pkcs9AttributeObject 类的新实例。

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

适用于

Pkcs9AttributeObject(AsnEncodedData)

通过将所指定 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 成员长度为零。

Oid 成员(属于 asnEncodedData)为 null

  • 或 - 该 Value 成员的 Oid 成员 asnEncodedDatanull.

适用于

Pkcs9AttributeObject(Oid, Byte[])

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

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[])

通过将指定的对象标识符 (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 特性值的字节值数组。

适用于