編輯

共用方式為


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)

Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs

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)

Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs
Source:
CryptographicAttributeObject.cs

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