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

Class EncapsulatedContentInfo

A CMS EncapsulatedContentInfo (RFC 5652 §5.2). For detached signatures, the

Content is null.

Inheritance
object
EncapsulatedContentInfo
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 EncapsulatedContentInfo

Constructors

View Source

EncapsulatedContentInfo(string, byte[]?)

Initializes a new instance of the EncapsulatedContentInfo class.

Declaration
public EncapsulatedContentInfo(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 encapsulated content bytes, or null for a detached signature.

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

ContentType

Gets the content type OID (typically id-data).

Declaration
public string ContentType { get; }
Property Value
Type Description
string
View Source

HasContent

Gets a value indicating whether the content is present (not detached).

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

DR-IT Software documentation

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

Generated by DocFX