Module |
|
Header |
/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
Include |
#include "IPlatformFilePak.h" |
struct FPakSignatureFile
Structure which describes the content of the pak .sig files
Name | Description | ||
---|---|---|---|
|
TArray< TPakChu... |
ChunkHashes |
CRCs of each contiguous 64kb block of the pak file. |
|
DecryptedHash |
SHA1 hash of the chunk CRC data. Only valid after calling DecryptSignatureAndValidate. |
|
|
TArray< uint8 > |
EncryptedHash |
RSA encrypted hash. |
|
TArray< uint8 > |
SignatureData |
The actual array of data that was encrypted in the RSA block. Contains the chunk table hash and also other custom data related to the pak file. |
|
Version |
Sig file version. Set to Legacy if the sig file is of an old version. |
Name | Description | ||
---|---|---|---|
|
ComputeCurrentMasterHash() |
||
|
ComputeCurrentPrincipalHash() |
Helper function for computing the SHA1 hash of the current chunk CRC array |
|
|
bool |
DecryptSignatureAndValidate ( |
Decrypt the chunk CRCs hash and validate that it matches the current one |
|
void |
Serialize ( |
Serialize/deserialize this object to/from an FArchive |
|
void |
SetChunkHashesAndSign ( |
Initialize and hash the CRC list then use the provided private key to encrypt the hash |
Name |
Description |
|
---|---|---|
|
EVersion |
Name |
Description |
---|---|
Magic |
Magic number that tells us we're dealing with the new format sig files. |