Επεξεργασία

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


Pkcs9ContentType Class

Definition

The Pkcs9ContentType class defines the type of the content of a CMS/PKCS #7 message.

public ref class Pkcs9ContentType sealed : System::Security::Cryptography::Pkcs::Pkcs9AttributeObject
public sealed class Pkcs9ContentType : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
type Pkcs9ContentType = class
    inherit Pkcs9AttributeObject
Public NotInheritable Class Pkcs9ContentType
Inherits Pkcs9AttributeObject
Inheritance

Remarks

A Pkcs9ContentType object will be automatically generated and placed in the SignerInfo.SignedAttributes property whenever the CmsSigner.SignedAttributes property for the corresponding signer is not empty.

Constructors

Pkcs9ContentType()

The Pkcs9ContentType() constructor creates an instance of the Pkcs9ContentType class.

Properties

ContentType

The ContentType property gets an Oid object that contains the content type.

Oid

Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.

(Inherited from Pkcs9AttributeObject)
RawData

Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.

(Inherited from AsnEncodedData)

Methods

CopyFrom(AsnEncodedData)

Copies information from an AsnEncodedData object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Format(Boolean)

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

(Inherited from AsnEncodedData)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also