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

Class EncryptedContentInfo

A CMS EncryptedContentInfo (RFC 5652 §6.1). Contains the content type, the content-encryption algorithm, and the encrypted content.

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

Constructors

View Source

EncryptedContentInfo(string, AlgorithmIdentifier, byte[]?)

Initializes a new instance of the EncryptedContentInfo class.

Declaration
public EncryptedContentInfo(string contentType, AlgorithmIdentifier contentEncryptionAlgorithm, byte[]? encryptedContent)
Parameters
Type Name Description
string contentType
AlgorithmIdentifier contentEncryptionAlgorithm
byte[] encryptedContent

Properties

View Source

ContentEncryptionAlgorithm

Gets the content-encryption algorithm (including IV as parameters).

Declaration
public AlgorithmIdentifier ContentEncryptionAlgorithm { get; }
Property Value
Type Description
AlgorithmIdentifier
View Source

ContentType

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

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

EncryptedContent

Gets the encrypted content bytes, or null if absent (external content).

Declaration
public byte[]? EncryptedContent { get; }
Property Value
Type Description
byte[]
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX