CryptographicAttributeObject Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CryptographicAttributeObject class.
Overloads
CryptographicAttributeObject(Oid) |
Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object. |
CryptographicAttributeObject(Oid, AsnEncodedDataCollection) |
Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object and the set of values associated with that attribute represented by the specified AsnEncodedDataCollection collection. |
CryptographicAttributeObject(Oid)
Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object.
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)
Parameters
- oid
- Oid
The attribute to store in this CryptographicAttributeObject object.
See also
Applies to
CryptographicAttributeObject(Oid, AsnEncodedDataCollection)
Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object and the set of values associated with that attribute represented by the specified AsnEncodedDataCollection collection.
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)
Parameters
- oid
- Oid
The attribute to store in this CryptographicAttributeObject object.
- values
- AsnEncodedDataCollection
The set of values associated with the attribute represented by the oid
parameter.
Exceptions
The collection contains duplicate items.
See also
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈