Changes

Jump to: navigation, search

Software Update:MAR

2 bytes added, 21:06, 21 November 2011
no edit summary
4 bytes : SignatureAlgorithmID - ID representing the type of signature algorithm.
4 bytes : SignatureSize - Size in bytes of the signature that follows
N bytes : Signature - The signature of type SignatureAlgorithmID and length size N = SignatureSizebytes
INDEX
4 bytes : IndexLength IndexSize - Size of INDEX in bytes
''variable number of INDEX_ENTRY elements''
INDEX_ENTRY
4 bytes : OffsetToContent - offset Offset in bytes relative to start of file 4 bytes : ContentLength ContentSize - length Size in bytes of the content
4 bytes : flags - File permission bits (in standard unix-style format).
M bytes : FileName - File name (byte array)
== SignatureAlgorithmID ==
ID 1: The signature type is 2048-bit RSA-PKCS1-SHA1 of length size 256 bytes
The updater program will not use a MAR file if one of the known signatures does not verify. If the updater program encounters a SignatureAlgorithmID that it does not know about, it will not check the signature, and will proceed to the next signature. This is why there exists a SignatureSize field, so that unknown signatures can be skipped.
Confirm
394
edits

Navigation menu