Confirmed users
394
edits
No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
The signatures are in NSS / OpenSSL / big-endian order and not CryptoAPI order. | The signatures are in NSS / OpenSSL / big-endian order and not CryptoAPI order. | ||
If CryptoAPI is used to check a signature, the bytes of the signature must be reversed before verifying the signature using CryptVerifySignature. | If CryptoAPI is used to check a signature, the bytes of the signature must be reversed before verifying the signature using CryptVerifySignature. | ||
== Constraints == | |||
To protect against invalid inputs the following constraints are in place: | |||
* There are at most 8 signatures. | |||
* The file size of the MAR file is at most 500MB. | |||
* No signature is more than 2048 bytes long. | |||
== Additional sections == | == Additional sections == |