CryptographicAttributeObject 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 CryptographicAttributeObject 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| CryptographicAttributeObject(Oid) |
使用由指定CryptographicAttributeObject对象表示的属性初始化类的新实例Oid。 |
| CryptographicAttributeObject(Oid, AsnEncodedDataCollection) |
使用由指定对象表示的属性和由指定CryptographicAttributeObjectOid集合表示的属性集初始化类的新实例AsnEncodedDataCollection。 |
CryptographicAttributeObject(Oid)
使用由指定CryptographicAttributeObject对象表示的属性初始化类的新实例Oid。
public:
CryptographicAttributeObject(System::Security::Cryptography::Oid ^ oid);
public CryptographicAttributeObject(System.Security.Cryptography.Oid oid);
new System.Security.Cryptography.CryptographicAttributeObject : System.Security.Cryptography.Oid -> System.Security.Cryptography.CryptographicAttributeObject
Public Sub New (oid As Oid)
参数
- oid
- Oid
要存储在此 CryptographicAttributeObject 对象中的属性。
另请参阅
适用于
CryptographicAttributeObject(Oid, AsnEncodedDataCollection)
使用由指定对象表示的属性和由指定CryptographicAttributeObjectOid集合表示的属性集初始化类的新实例AsnEncodedDataCollection。
public:
CryptographicAttributeObject(System::Security::Cryptography::Oid ^ oid, System::Security::Cryptography::AsnEncodedDataCollection ^ values);
public CryptographicAttributeObject(System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedDataCollection? values);
public CryptographicAttributeObject(System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedDataCollection values);
new System.Security.Cryptography.CryptographicAttributeObject : System.Security.Cryptography.Oid * System.Security.Cryptography.AsnEncodedDataCollection -> System.Security.Cryptography.CryptographicAttributeObject
Public Sub New (oid As Oid, values As AsnEncodedDataCollection)
参数
- oid
- Oid
要存储在此 CryptographicAttributeObject 对象中的属性。
- values
- AsnEncodedDataCollection
与参数表示 oid 的属性关联的值集。
例外
该集合包含重复项。