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

Class CmsReader

Reads CMS structures from DER-encoded bytes (RFC 5652). Parses ContentInfo, SignedData, and EnvelopedData.

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

Methods

View Source

ReadContentInfo(byte[])

Parses a ContentInfo envelope from DER-encoded bytes.

Declaration
public static ContentInfo ReadContentInfo(byte[] der)
Parameters
Type Name Description
byte[] der

Specifies the der value.

Returns
Type Description
ContentInfo
View Source

ReadEnvelopedData(byte[])

Parses an EnvelopedData structure from DER-encoded bytes.

Declaration
public static EnvelopedData ReadEnvelopedData(byte[] der)
Parameters
Type Name Description
byte[] der

Specifies the der value.

Returns
Type Description
EnvelopedData
View Source

ReadSignedData(byte[])

Parses a SignedData structure from DER-encoded bytes.

Declaration
public static SignedData ReadSignedData(byte[] der)
Parameters
Type Name Description
byte[] der

Specifies the der value.

Returns
Type Description
SignedData
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX