Share via


Pkcs9AttributeObject 建構函式

定義

初始化 Pkcs9AttributeObject 類別的新執行個體。

多載

Pkcs9AttributeObject()

初始化 Pkcs9AttributeObject 類別的新執行個體。

Pkcs9AttributeObject(AsnEncodedData)

使用指定的 Pkcs9AttributeObject 物件當做它的屬性型別和值,初始化 AsnEncodedData 類別的新執行個體。

Pkcs9AttributeObject(Oid, Byte[])

使用指定的 Pkcs9AttributeObject 物件做為屬性型別,以及使用指定的 ASN.1 編碼資料做為屬性值時,初始化 Oid 類別的新執行個體。

Pkcs9AttributeObject(String, Byte[])

使用指定的物件識別項 (OID) 之字串代表做為屬性型別,以及使用指定的 ASN.1 編碼資料做為屬性值時,初始化Pkcs9AttributeObject 類別的新執行個體。

Pkcs9AttributeObject()

來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs

初始化 Pkcs9AttributeObject 類別的新執行個體。

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

適用於

Pkcs9AttributeObject(AsnEncodedData)

來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
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 成員長度為零。

OidasnEncodedData 成員為 null

-或-

ValueOid 成員的 asnEncodedData 成員為 null

適用於

Pkcs9AttributeObject(Oid, Byte[])

來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs

使用指定的 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[])

來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
Pkcs9AttributeObject.cs
來源:
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 屬性值。

適用於