Table of Contents

Class EnvelopedData

Namespace
Enterprises.Org.BouncyCastle.Asn1.Cms
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class EnvelopedData : Asn1Encodable, IAsn1Convertible
Inheritance
EnvelopedData
Implements
Inherited Members

Constructors

EnvelopedData(Asn1Sequence)

[Obsolete("Use 'GetInstance' instead")]
public EnvelopedData(Asn1Sequence seq)

Parameters

seq Asn1Sequence

EnvelopedData(OriginatorInfo, Asn1Set, EncryptedContentInfo, Asn1Set)

public EnvelopedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, EncryptedContentInfo encryptedContentInfo, Asn1Set unprotectedAttrs)

Parameters

originatorInfo OriginatorInfo
recipientInfos Asn1Set
encryptedContentInfo EncryptedContentInfo
unprotectedAttrs Asn1Set

EnvelopedData(OriginatorInfo, Asn1Set, EncryptedContentInfo, Attributes)

public EnvelopedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, EncryptedContentInfo encryptedContentInfo, Attributes unprotectedAttrs)

Parameters

originatorInfo OriginatorInfo
recipientInfos Asn1Set
encryptedContentInfo EncryptedContentInfo
unprotectedAttrs Attributes

Properties

EncryptedContentInfo

public EncryptedContentInfo EncryptedContentInfo { get; }

Property Value

EncryptedContentInfo

OriginatorInfo

public OriginatorInfo OriginatorInfo { get; }

Property Value

OriginatorInfo

RecipientInfos

public Asn1Set RecipientInfos { get; }

Property Value

Asn1Set

UnprotectedAttrs

public Asn1Set UnprotectedAttrs { get; }

Property Value

Asn1Set

Version

public DerInteger Version { get; }

Property Value

DerInteger

Methods

CalculateVersion(OriginatorInfo, Asn1Set, Asn1Set)

public static int CalculateVersion(OriginatorInfo originatorInfo, Asn1Set recipientInfos, Asn1Set unprotectedAttrs)

Parameters

originatorInfo OriginatorInfo
recipientInfos Asn1Set
unprotectedAttrs Asn1Set

Returns

int

GetInstance(Asn1TaggedObject, bool)

public static EnvelopedData GetInstance(Asn1TaggedObject obj, bool explicitly)

Parameters

obj Asn1TaggedObject
explicitly bool

Returns

EnvelopedData

GetInstance(object)

public static EnvelopedData GetInstance(object obj)

Parameters

obj object

Returns

EnvelopedData

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object