Pkcs9ContentType Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應