Class EncryptedContentInfo
- Namespace
- Org.BouncyCastle.Asn1.Cms
- Assembly
- BouncyCastle.Cryptography.dll
public class EncryptedContentInfo : Asn1Encodable, IAsn1Convertible
- Inheritance
-
EncryptedContentInfo
- Implements
-
- Inherited Members
-
Constructors
EncryptedContentInfo(Asn1Sequence)
[Obsolete("Use 'GetInstance' instead")]
public EncryptedContentInfo(Asn1Sequence seq)
Parameters
seq Asn1Sequence
EncryptedContentInfo(DerObjectIdentifier, AlgorithmIdentifier, Asn1OctetString)
public EncryptedContentInfo(DerObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, Asn1OctetString encryptedContent)
Parameters
contentType DerObjectIdentifier
contentEncryptionAlgorithm AlgorithmIdentifier
encryptedContent Asn1OctetString
Properties
ContentEncryptionAlgorithm
public AlgorithmIdentifier ContentEncryptionAlgorithm { get; }
Property Value
- AlgorithmIdentifier
ContentType
public DerObjectIdentifier ContentType { get; }
Property Value
- DerObjectIdentifier
EncryptedContent
public Asn1OctetString EncryptedContent { get; }
Property Value
- Asn1OctetString
Methods
GetInstance(Asn1TaggedObject, bool)
public static EncryptedContentInfo GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- EncryptedContentInfo
GetInstance(object)
public static EncryptedContentInfo GetInstance(object obj)
Parameters
obj object
Returns
- EncryptedContentInfo
GetTagged(Asn1TaggedObject, bool)
public static EncryptedContentInfo GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- EncryptedContentInfo
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object