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

Class RecipientInfo

A CMS RecipientInfo (RFC 5652 §6.2). Only KeyTransport (RSA) is fully supported; other types are parsed minimally.

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

Constructors

View Source

RecipientInfo(int, SignerIdentifier, AlgorithmIdentifier, byte[])

Initializes a new instance of the RecipientInfo class for a KeyTransRecipientInfo.

Declaration
public RecipientInfo(int version, SignerIdentifier rid, AlgorithmIdentifier keyEncryptionAlgorithm, byte[] encryptedKey)
Parameters
Type Name Description
int version
SignerIdentifier rid
AlgorithmIdentifier keyEncryptionAlgorithm
byte[] encryptedKey

Properties

View Source

EncryptedKey

Gets the encrypted content-encryption key.

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

KeyEncryptionAlgorithm

Gets the key-encryption algorithm (e.g., RSA).

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

Rid

Gets the recipient identifier.

Declaration
public SignerIdentifier Rid { get; }
Property Value
Type Description
SignerIdentifier
View Source

Type

Gets the recipient info type.

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

Version

Gets the CMS version.

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

DR-IT Software documentation

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

Generated by DocFX