37 #ifndef VIRGIL_CRYPTO_VIRGIL_CMS_CONTENT_INFO_H 38 #define VIRGIL_CRYPTO_VIRGIL_CMS_CONTENT_INFO_H 43 #include "VirgilCMSContent.h" 45 #include "../asn1/VirgilAsn1Compatible.h" 47 #include "../../VirgilCustomParams.h" 48 #include "../../VirgilByteArray.h" 50 namespace virgil {
namespace crypto {
namespace foundation {
namespace cms {
Data object that represent ASN.1 structure: VirgilCustomParams.
Definition: VirgilCustomParams.h:51
This class provides methods for reading ASN.1 data structure.
Definition: VirgilAsn1Reader.h:53
VirgilCMSContent cmsContent
CMS content.
Definition: VirgilCMSContentInfo.h:61
This class provides interface that allow to save and restore object state in the ASN.1 structure.
Definition: VirgilAsn1Compatible.h:59
This class provides methods for writing ASN.1 data structure.
Definition: VirgilAsn1Writer.h:54
static size_t defineSize(const virgil::crypto::VirgilByteArray &data)
Read content info size as part of the data.
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
virgil::crypto::VirgilCustomParams customParams
User defiend custom parameters.
Definition: VirgilCMSContentInfo.h:66
size_t asn1Write(asn1::VirgilAsn1Writer &asn1Writer, size_t childWrittenBytes=0) const override
Write object state to the writer.
Data object that represent CMS structure: ContentInfo.
Definition: VirgilCMSContent.h:51
Data object that represent ASN.1 structure: VirgilCMSContentInfo.
Definition: VirgilCMSContentInfo.h:55
void asn1Read(asn1::VirgilAsn1Reader &asn1Reader) override
Read object state from the reader.