• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ContentInfo

A CMS ContentInfo envelope (RFC 5652 §3). Wraps a typed content structure.

Inheritance
object
ContentInfo
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Crypto.Cms
Assembly: DRIT.Mail.dll
Syntax
public sealed class ContentInfo

Constructors

View Source

ContentInfo(string, byte[]?)

Initializes a new instance of the ContentInfo class.

Declaration
public ContentInfo(string contentType, byte[]? content)
Parameters
Type Name Description
string contentType

The content type used by the operation.

byte[] content

Specifies the content value.

Properties

View Source

Content

Gets the DER-encoded inner structure, or null if absent.

Declaration
public byte[]? Content { get; }
Property Value
Type Description
byte[]
View Source

ContentType

Gets the content type OID.

Declaration
public string ContentType { get; }
Property Value
Type Description
string
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX