Επεξεργασία

Κοινή χρήση μέσω


Pkcs9AttributeObject Constructors

Definition

Initializes a new instance of the Pkcs9AttributeObject class.

Overloads

Pkcs9AttributeObject()

Initializes a new instance of the Pkcs9AttributeObject class.

Pkcs9AttributeObject(AsnEncodedData)

Initializes a new instance of the Pkcs9AttributeObject class using a specified AsnEncodedData object as its attribute type and value.

Pkcs9AttributeObject(Oid, Byte[])

Initializes a new instance of the Pkcs9AttributeObject class using a specified Oid object as the attribute type and a specified ASN.1 encoded data as the attribute value.

Pkcs9AttributeObject(String, Byte[])

Initializes a new instance of the Pkcs9AttributeObject class using a specified string representation of an object identifier (OID) as the attribute type and a specified ASN.1 encoded data as the attribute value.

Pkcs9AttributeObject()

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

Initializes a new instance of the Pkcs9AttributeObject class.

public:
 Pkcs9AttributeObject();
public Pkcs9AttributeObject ();
Public Sub New ()

Applies to

Pkcs9AttributeObject(AsnEncodedData)

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

Initializes a new instance of the Pkcs9AttributeObject class using a specified AsnEncodedData object as its attribute type and value.

public:
 Pkcs9AttributeObject(System::Security::Cryptography::AsnEncodedData ^ asnEncodedData);
public Pkcs9AttributeObject (System.Security.Cryptography.AsnEncodedData asnEncodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (asnEncodedData As AsnEncodedData)

Parameters

asnEncodedData
AsnEncodedData

An object that contains the PKCS #9 attribute type and value to use.

Exceptions

The length of the Value member of the Oid member of asnEncodedData is zero.

The Oid member of asnEncodedData is null.

-or-

The Value member of the Oid member of asnEncodedData is null.

Applies to

Pkcs9AttributeObject(Oid, Byte[])

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

Initializes a new instance of the Pkcs9AttributeObject class using a specified Oid object as the attribute type and a specified ASN.1 encoded data as the attribute value.

public:
 Pkcs9AttributeObject(System::Security::Cryptography::Oid ^ oid, cli::array <System::Byte> ^ encodedData);
public Pkcs9AttributeObject (System.Security.Cryptography.Oid oid, byte[] encodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : System.Security.Cryptography.Oid * byte[] -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (oid As Oid, encodedData As Byte())

Parameters

oid
Oid

An object that represents the PKCS #9 attribute type.

encodedData
Byte[]

An array of byte values that represents the PKCS #9 attribute value.

Applies to

Pkcs9AttributeObject(String, Byte[])

Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs
Source:
Pkcs9AttributeObject.cs

Initializes a new instance of the Pkcs9AttributeObject class using a specified string representation of an object identifier (OID) as the attribute type and a specified ASN.1 encoded data as the attribute value.

public:
 Pkcs9AttributeObject(System::String ^ oid, cli::array <System::Byte> ^ encodedData);
public Pkcs9AttributeObject (string oid, byte[] encodedData);
new System.Security.Cryptography.Pkcs.Pkcs9AttributeObject : string * byte[] -> System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
Public Sub New (oid As String, encodedData As Byte())

Parameters

oid
String

The string representation of an OID that represents the PKCS #9 attribute type.

encodedData
Byte[]

An array of byte values that contains the PKCS #9 attribute value.

Applies to