Virgil Security Crypto library  1.8.2
VirgilCMSEncryptedContent.h
1 
37 #ifndef VIRGIL_CRYPTO_VIRGIL_CMS_ENCRYPTED_CONTENT_H
38 #define VIRGIL_CRYPTO_VIRGIL_CMS_ENCRYPTED_CONTENT_H
39 
40 #include <virgil/crypto/VirgilByteArray.h>
41 #include <virgil/crypto/foundation/asn1/VirgilAsn1Compatible.h>
42 
43 namespace virgil { namespace crypto { namespace foundation { namespace cms {
44 
50 public:
55  virgil::crypto::VirgilByteArray contentEncryptionAlgorithm;
60  virgil::crypto::VirgilByteArray encryptedContent;
61 public:
79  virtual size_t asn1Write(
82  size_t childWrittenBytes = 0) const;
83 
86 public:
90  virtual ~VirgilCMSEncryptedContent() throw();
91 };
92 
93 }}}}
94 
95 #endif /* VIRGIL_CRYPTO_VIRGIL_CMS_ENCRYPTED_CONTENT_H */
virgil::crypto::VirgilByteArray encryptedContent
Content encrypted by algorithm defined in property contentEncryptionAlgorithm.
Definition: VirgilCMSEncryptedContent.h:60
This class provides methods for reading ASN.1 data structure.
Definition: VirgilAsn1Reader.h:53
virtual void asn1Read(virgil::crypto::foundation::asn1::VirgilAsn1Reader &asn1Reader)
Read object state from the reader.
This class provides interface that allow to save and restore object state in the ASN.1 structure.
Definition: VirgilAsn1Compatible.h:59
virgil::crypto::VirgilByteArray contentEncryptionAlgorithm
Content encryption algorithm identifier (ASN.1 AlgorithmIdentifier structure).
Definition: VirgilCMSEncryptedContent.h:55
This class provides methods for writing ASN.1 data structure.
Definition: VirgilAsn1Writer.h:54
Definition: VirgilAsn1Compatible.h:46
Data object that represent CMS structure: EncryptedContentInfo.
Definition: VirgilCMSEncryptedContent.h:49
virtual size_t asn1Write(virgil::crypto::foundation::asn1::VirgilAsn1Writer &asn1Writer, size_t childWrittenBytes=0) const
Write object state to the writer.
virtual ~VirgilCMSEncryptedContent()
Polymorphic destructor.