libintrovirt
v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
PLAINTEXTKEYBLOB.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Assured Information Security, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#pragma once
17
18
#include <
introvirt/core/memory/guest_ptr.hh
>
19
#include <
introvirt/windows/libraries/advapi32/types/BLOB.hh
>
20
21
#include <cstdint>
22
23
namespace
introvirt
{
24
namespace
windows {
25
namespace
advapi32 {
26
27
struct
_PLAINTEXTKEYBLOB;
28
29
class
PLAINTEXTKEYBLOB
final :
public
BLOB
{
30
public
:
31
guest_ptr<const uint8_t[]>
KeyData
()
const
;
32
33
PLAINTEXTKEYBLOB
(
const
guest_ptr<void>
& ptr, uint32_t length);
34
35
private
:
36
guest_ptr<uint8_t[]>
key_data_;
37
};
38
39
}
// namespace advapi32
40
}
// namespace windows
41
}
// namespace introvirt
BLOB.hh
introvirt::basic_guest_ptr
Definition
guest_ptr.hh:88
introvirt::windows::advapi32::BLOB
Definition
BLOB.hh:29
introvirt::windows::advapi32::PLAINTEXTKEYBLOB
Definition
PLAINTEXTKEYBLOB.hh:29
introvirt::windows::advapi32::PLAINTEXTKEYBLOB::PLAINTEXTKEYBLOB
PLAINTEXTKEYBLOB(const guest_ptr< void > &ptr, uint32_t length)
introvirt::windows::advapi32::PLAINTEXTKEYBLOB::KeyData
guest_ptr< const uint8_t[]> KeyData() const
guest_ptr.hh
Type-safe guest virtual address pointer and guest_ptr template.
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20