Loading…

Kryptel/Java

ParcelLocator structure

Declaration

package com.kryptel.silver_key;

public final class ParcelLocator {
  public long parcelStart;
  public long parcelSize;
  public UUID guidEngine;
  public short versionCreated;
  public short versionRequired;
}

Description

If SilverKey.IsParcel recognizes the specified file as a Silver Key parcel, it fills this structure.

parcelStart
The position in the file at which the parcel starts. Most often it is 0, but not always. Self-extracting parcels have a decryptor stub at the beginning, and hidden parcels are attached to other files.
parcelSize
The size of the parcel not including parcel's 16-byte MD5 checksum. For an ordinary parcel starting at position 0 with no obfuscation data at the end, this value will be equal to filesize - 16.
guidEngine
Component ID of the engine that created the parcel (and of the engine that is needed to decrypt it).
versionCreated
The version of the engine that created the parcel.
versionRequired
The version of the engine required for parcel decryption.