Pkcs9AttributeObject 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 Pkcs9AttributeObject 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| Pkcs9AttributeObject() |
初始化 Pkcs9AttributeObject 類別的新執行個體。 |
| Pkcs9AttributeObject(AsnEncodedData) |
使用指定的Pkcs9AttributeObject物件作為屬性型別與值,初始化類別的新AsnEncodedData實例。 |
| Pkcs9AttributeObject(Oid, Byte[]) |
初始化類別的新實例 Pkcs9AttributeObject ,使用指定的 Oid 物件作為屬性類型,並以指定的 ASN.1 編碼資料作為屬性值。 |
| 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 屬性類型與值的物件,供使用者使用。
例外狀況
成員Value的成員長度OidasnEncodedData為零。
適用於
Pkcs9AttributeObject(Oid, Byte[])
初始化類別的新實例 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[])
以指定的字串表示物件識別碼(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 屬性值的位元組數陣列。