Pkcs9ContentType Class
The Pkcs9ContentType class defines the type of the content of a CMS/PKCS #7 message.
Assembly: System.Security (in System.Security.dll)
System.Security.Cryptography::AsnEncodedData
System.Security.Cryptography.Pkcs::Pkcs9AttributeObject
System.Security.Cryptography.Pkcs::Pkcs9ContentType
| Name | Description | |
|---|---|---|
![]() | Pkcs9ContentType() | The Pkcs9ContentType constructor creates an instance of the Pkcs9ContentType class. |
| Name | Description | |
|---|---|---|
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() | CopyFrom(AsnEncodedData^) | Copies information from an AsnEncodedData object.(Overrides Pkcs9AttributeObject::CopyFrom(AsnEncodedData^).) |
![]() | 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() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

