37 #ifndef VIRGIL_CRYPTO_VIRGIL_CMS_ENVELOPED_DATA_H 38 #define VIRGIL_CRYPTO_VIRGIL_CMS_ENVELOPED_DATA_H 42 #include "../asn1/VirgilAsn1Compatible.h" 44 #include "VirgilCMSKeyTransRecipient.h" 45 #include "VirgilCMSPasswordRecipient.h" 46 #include "VirgilCMSEncryptedContent.h" 49 namespace virgil {
namespace crypto {
namespace foundation {
namespace cms {
108 size_t childWrittenBytes = 0)
const;
113 int defineVersion()
const;
This class provides methods for reading ASN.1 data structure.
Definition: VirgilAsn1Reader.h:53
This class provides interface that allow to save and restore object state in the ASN.1 structure.
Definition: VirgilAsn1Compatible.h:59
std::vector< VirgilCMSPasswordRecipient > passwordRecipients
Set of recipients identified by password.
Definition: VirgilCMSEnvelopedData.h:66
This class provides methods for writing ASN.1 data structure.
Definition: VirgilAsn1Writer.h:54
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
virtual size_t asn1Write(virgil::crypto::foundation::asn1::VirgilAsn1Writer &asn1Writer, size_t childWrittenBytes=0) const
Write object state to the writer.
std::vector< VirgilCMSKeyTransRecipient > keyTransRecipients
Set of recipients identified by key.
Definition: VirgilCMSEnvelopedData.h:61
virtual void asn1Read(virgil::crypto::foundation::asn1::VirgilAsn1Reader &asn1Reader)
Read object state from the reader.
Data object that represent CMS structure: EncryptedContentInfo.
Definition: VirgilCMSEncryptedContent.h:49
VirgilCMSEncryptedContent encryptedContent
Encrypted content and/or meta information about it.
Definition: VirgilCMSEnvelopedData.h:71
Data object that represent CMS structure: EnvelopedData.
Definition: VirgilCMSEnvelopedData.h:55