#include <uthenticode.h>
Encapsulates an Authenticode PKCS#7 SignedData blob.
◆ SignedData() [1/3]
uthenticode::SignedData::SignedData |
( |
std::vector< std::uint8_t > |
cert_buf | ) |
|
Create a SignedData from the given raw buffer.
- Exceptions
-
◆ SignedData() [2/3]
uthenticode::SignedData::SignedData |
( |
SignedData && |
s | ) |
|
|
noexcept |
◆ SignedData() [3/3]
uthenticode::SignedData::SignedData |
( |
const SignedData & |
| ) |
|
|
delete |
◆ ~SignedData()
uthenticode::SignedData::~SignedData |
( |
| ) |
|
◆ get_certificates()
std::vector< Certificate > uthenticode::SignedData::get_certificates |
( |
| ) |
const |
◆ get_checksum()
Checksum uthenticode::SignedData::get_checksum |
( |
| ) |
const |
Returns the kind of checksum in this SignedData and its contents.
- Returns
- a Checksum tuple
◆ get_nested_signed_data()
std::optional< SignedData > uthenticode::SignedData::get_nested_signed_data |
( |
| ) |
const |
◆ get_raw_data()
std::vector< std::uint8_t > const & uthenticode::SignedData::get_raw_data |
( |
| ) |
const |
- Returns
- a const-reference to the certificate buffer.
◆ get_signers()
std::vector< Certificate > uthenticode::SignedData::get_signers |
( |
| ) |
const |
◆ verify_signature()
bool uthenticode::SignedData::verify_signature |
( |
| ) |
const |
Verifies the Authenticode signature.
- Returns
- true if valid, false otherwise
The documentation for this class was generated from the following files: