Changes

Jump to: navigation, search

Software Update:MAR

81 bytes added, 19:13, 21 November 2011
Details
HEADER
4 bytes : MARID - "MAR1" 4 bytes : OffsetToIndex - offset to INDEX in bytes relative to start of file
SIGNATURES
''Zero or more of the following:''
4 bytes : NumSignatures - Number of signatures
''variable number of SIGNATURE_ENTRY elements'' SIGNATURE_ENTRY 4 bytes : SignatureAlgorithmID - An ID representing the type of signature algorithm. 4 bytes : SignatureLength - length Length of the signature that follows
N bytes : Signature - The signature of type SignatureAlgorithmID and length SignatureLength
INDEX
4 bytes : size IndexLength - Size of INDEX in bytes
''variable number of INDEX_ENTRY elements''
INDEX_ENTRY
4 bytes : OffsetToContent - offset in bytes relative to start of file 4 bytes : ContentLength - length in bytes 4 bytes : flags- File permission bits (in standard unix-style format). N bytes : FileName - File name (byte array)
1 byte : null terminator
The flags field is used to store file permission bits (in the standard unix-style format).
Some old MAR files will not contain the 4 bytes Number of signatures field.
Confirm
394
edits

Navigation menu