Virgil Security Crypto library  2.4.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
VirgilCMSKeyTransRecipient.h
1 
37 #ifndef VIRGIL_CRYPTO_VIRGIL_CMS_KEY_TRANS_RECIPIENT_H
38 #define VIRGIL_CRYPTO_VIRGIL_CMS_KEY_TRANS_RECIPIENT_H
39 
40 #include "../../VirgilByteArray.h"
41 #include "../asn1/VirgilAsn1Compatible.h"
42 
43 namespace virgil { namespace crypto { namespace foundation { namespace cms {
44 
50 public:
66 public:
92  virtual size_t asn1Write(
95  size_t childWrittenBytes = 0) const;
96 
99 };
100 
101 }}}}
102 
103 #endif /* VIRGIL_CRYPTO_VIRGIL_CMS_KEY_TRANS_RECIPIENT_H */
virgil::crypto::VirgilByteArray recipientIdentifier
Recipient's identifier.
Definition: VirgilCMSKeyTransRecipient.h:55
This class provides methods for reading ASN.1 data structure.
Definition: VirgilAsn1Reader.h:53
virgil::crypto::VirgilByteArray keyEncryptionAlgorithm
Identifies the encryption algorithm, and any associated parameters.
Definition: VirgilCMSKeyTransRecipient.h:60
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
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
virtual void asn1Read(virgil::crypto::foundation::asn1::VirgilAsn1Reader &asn1Reader)
Read object state from the reader.
virgil::crypto::VirgilByteArray encryptedKey
The result of encrypting the content-encryption key with the key-encryption key.
Definition: VirgilCMSKeyTransRecipient.h:65
Data object that represent CMS structure: KeyTransRecipientInfo.
Definition: VirgilCMSKeyTransRecipient.h:49
virtual size_t asn1Write(virgil::crypto::foundation::asn1::VirgilAsn1Writer &asn1Writer, size_t childWrittenBytes=0) const
Write object state to the writer.