Pkcs9AttributeObject 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 Pkcs9AttributeObject 类的新实例。
重载
| Pkcs9AttributeObject() | 初始化 Pkcs9AttributeObject 类的新实例。 | 
| Pkcs9AttributeObject(AsnEncodedData) | 通过将所指定 Pkcs9AttributeObject 对象用作 AsnEncodedData 类新实例的特性类型及值,对该实例进行初始化。 | 
| Pkcs9AttributeObject(Oid, Byte[]) | 通过将指定的 Pkcs9AttributeObject 对象用作特性类型,并将指定的 ASN.1 编码数据用作特性值,对 Oid 类的新实例进行初始化。 | 
| 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
初始化 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
通过将所指定 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.Pkcs9AttributeObjectPublic Sub New (asnEncodedData As AsnEncodedData)参数
- asnEncodedData
- AsnEncodedData
包含要使用的 PKCS #9 特性类型及值的对象。
例外
              Value 的 Oid 成员的 asnEncodedData 成员长度为零。
              Oid 成员(属于 asnEncodedData)为 null。
- 或 -
该 Value 成员的 Oid 成员 asnEncodedData 是 null.
适用于
Pkcs9AttributeObject(Oid, Byte[])
- Source:
- Pkcs9AttributeObject.cs
- Source:
- Pkcs9AttributeObject.cs
- Source:
- Pkcs9AttributeObject.cs
- Source:
- Pkcs9AttributeObject.cs
- Source:
- Pkcs9AttributeObject.cs
- Source:
- 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.Pkcs9AttributeObjectPublic 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
通过将指定的对象标识符 (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.Pkcs9AttributeObjectPublic Sub New (oid As String, encodedData As Byte())参数
- oid
- String
表示 PKCS #9 特性类型的 OID 字符串表示。
- encodedData
- Byte[]
包含 PKCS #9 特性值的字节值数组。