ContentInfo 類別

定義

The ContentInfo class represents the CMS/PKCS #7 ContentInfo data structure as defined in the CMS/PKCS #7 standards document.The ContentInfo class represents the CMS/PKCS #7 ContentInfo data structure as defined in the CMS/PKCS #7 standards document. This data structure is the basis for all CMS/PKCS #7 messages.This data structure is the basis for all CMS/PKCS #7 messages.

public ref class ContentInfo sealed
public sealed class ContentInfo
type ContentInfo = class
Public NotInheritable Class ContentInfo
繼承
ContentInfo

建構函式

ContentInfo(Byte[])

The ContentInfo(Byte[]) constructor creates an instance of the ContentInfo class by using an array of byte values as the data and a default object identifier (OID) that represents the content type.The ContentInfo(Byte[]) constructor creates an instance of the ContentInfo class by using an array of byte values as the data and a default object identifier (OID) that represents the content type.

ContentInfo(Oid, Byte[])

The ContentInfo(Oid, Byte[]) constructor creates an instance of the ContentInfo class by using the specified content type and an array of byte values as the data.The ContentInfo(Oid, Byte[]) constructor creates an instance of the ContentInfo class by using the specified content type and an array of byte values as the data.

屬性

Content

The Content property retrieves the content of the CMS/PKCS #7 message.The Content property retrieves the content of the CMS/PKCS #7 message.

ContentType

The ContentType property retrieves the Oid object that contains the object identifier (OID) of the content type of the inner content of the CMS/PKCS #7 message.The ContentType property retrieves the Oid object that contains the object identifier (OID) of the content type of the inner content of the CMS/PKCS #7 message.

方法

Equals(Object)

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

(繼承來源 Object)
Finalize()

Releases unmanaged resources and performs other cleanup operations before the ContentInfo instance is reclaimed by garbage collection.Releases unmanaged resources and performs other cleanup operations before the ContentInfo instance is reclaimed by garbage collection.

GetContentType(Byte[])

The GetContentType(Byte[]) static method retrieves the outer content type of the encoded ContentInfo message represented by an array of byte values.The GetContentType(Byte[]) static method retrieves the outer content type of the encoded ContentInfo message represented by an array of byte values.

GetHashCode()

Serves as the default hash function.Serves as the default hash function.

(繼承來源 Object)
GetType()

Gets the Type of the current instance.Gets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

Creates a shallow copy of the current Object.Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

Returns a string that represents the current object.Returns a string that represents the current object.

(繼承來源 Object)

適用於