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.