![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IPlatformFilePak.h>
Public Types | |
| enum class | EVersion { Invalid , First , Last , Latest = Last - 1 } |
Public Member Functions | |
| void | SetChunkHashesAndSign (const TArray< TPakChunkHash > &InChunkHashes, const TArrayView< uint8 > &InSignatureData, const FRSAKeyHandle InKey) |
| void | Serialize (FArchive &Ar) |
| bool | DecryptSignatureAndValidate (const FRSAKeyHandle InKey, const FString &InFilename) |
| FSHAHash | ComputeCurrentPrincipalHash () const |
| FSHAHash | ComputeCurrentMasterHash () const |
Public Attributes | |
| EVersion | Version = EVersion::Latest |
| TArray< uint8 > | EncryptedHash |
| FSHAHash | DecryptedHash |
| TArray< uint8 > | SignatureData |
| TArray< TPakChunkHash > | ChunkHashes |
Static Public Attributes | |
| static const uint32 | Magic = 0x73832DAA |
Structure which describes the content of the pak .sig files
|
strong |
|
inline |
|
inline |
Helper function for computing the SHA1 hash of the current chunk CRC array
|
inline |
Decrypt the chunk CRCs hash and validate that it matches the current one
Serialize/deserialize this object to/from an FArchive
|
inline |
Initialize and hash the CRC list then use the provided private key to encrypt the hash
| TArray<TPakChunkHash> FPakSignatureFile::ChunkHashes |
| FSHAHash FPakSignatureFile::DecryptedHash |
|
static |
| EVersion FPakSignatureFile::Version = EVersion::Latest |