62 void write(std::ostream& os = std::cout)
const override;
63 Json::Value
json()
const override;
80 inline static const std::string
FunctionName =
"CryptEncryptMessage";
92 uint32_t cRecipientCert_;
94 mutable std::vector<std::shared_ptr<CERT_CONTEXT>> RecipientCert_;
96 uint32_t cbToBeEncrypted_;
Interface class for hypervisor events.
Definition Event.hh:43
Definition guest_ptr.hh:88
Helper class to transparently convert between guest size and a value.
Definition guest_size_t_ptr.hh:498
Definition WindowsFunctionCall.hh:31
Handler for crypt32!CryptEncryptMessage.
Definition CryptEncryptMessage.hh:36
void pbToBeEncrypted(const guest_ptr< uint8_t[]> &pbToBeEncrypted)
guest_ptr< uint8_t[]> pbToBeEncrypted() const
void write(std::ostream &os=std::cout) const override
Write out a textual representation of the function for display.
~CryptEncryptMessage() override
guest_ptr< void *[], guest_ptr_t > rgpRecipientCert() const
void pcbEncryptedBlob(const guest_ptr< uint32_t > &pcbEncryptedBlob)
static bool inject(const guest_ptr< void > &pEncryptPara, uint32_t cRecipientCert, const guest_ptr< void *[], guest_ptr_t > &rgpRecipientCert, const guest_ptr< uint8_t[]> &pbToBeEncrypted, uint32_t cbToBeEncrypted, const guest_ptr< uint8_t[]> &pbEncryptedBlob, const guest_ptr< uint32_t > &pcbEncryptedBlob)
void pEncryptPara(const guest_ptr< void > &pEncryptPara)
const std::string & function_name() const override
Get the function name.
CryptEncryptMessage(Event &event)
uint32_t cRecipientCert() const
static constexpr int ArgumentCount
Definition CryptEncryptMessage.hh:78
uint32_t cbToBeEncrypted() const
std::vector< std::shared_ptr< CERT_CONTEXT > > & RecipientCert()
void cRecipientCert(uint32_t cRecipientCert)
guest_ptr< uint32_t > pcbEncryptedBlob() const
void rgpRecipientCert(const guest_ptr< void *[], guest_ptr_t > &rgpRecipientCert)
static const std::string LibraryName
Definition CryptEncryptMessage.hh:79
static const std::string FunctionName
Definition CryptEncryptMessage.hh:80
const std::string & library_name() const override
Get the name of the library this call is for.
void cbToBeEncrypted(uint32_t cbToBeEncrypted)
Json::Value json() const override
Get the function as Json.
void pbEncryptedBlob(const guest_ptr< uint8_t[]> &pbEncryptedBlob)
guest_ptr< uint8_t[]> pbEncryptedBlob() const
guest_ptr< void > pEncryptPara() const
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20