CryptographicAttributeObject Constructors

Definition

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

Parameters

oid
Oid

The attribute to store in this CryptographicAttributeObject object.

See also

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);
new System.Security.Cryptography.CryptographicAttributeObject : System.Security.Cryptography.Oid * System.Security.Cryptography.AsnEncodedDataCollection -> System.Security.Cryptography.CryptographicAttributeObject

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