David Howells | 4c0b4b1 | 2014-07-01 16:02:52 +0100 | [diff] [blame] | 1 | --- Microsoft individual code signing data blob parser |
| 2 | --- |
| 3 | --- Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | --- Written by David Howells (dhowells@redhat.com) |
| 5 | --- |
| 6 | --- This program is free software; you can redistribute it and/or |
| 7 | --- modify it under the terms of the GNU General Public Licence |
| 8 | --- as published by the Free Software Foundation; either version |
| 9 | --- 2 of the Licence, or (at your option) any later version. |
| 10 | --- |
| 11 | |
| 12 | MSCode ::= SEQUENCE { |
| 13 | type SEQUENCE { |
| 14 | contentType ContentType, |
| 15 | parameters ANY |
| 16 | }, |
| 17 | content SEQUENCE { |
| 18 | digestAlgorithm DigestAlgorithmIdentifier, |
| 19 | digest OCTET STRING ({ mscode_note_digest }) |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | ContentType ::= OBJECT IDENTIFIER ({ mscode_note_content_type }) |
| 24 | |
| 25 | DigestAlgorithmIdentifier ::= SEQUENCE { |
| 26 | algorithm OBJECT IDENTIFIER ({ mscode_note_digest_algo }), |
| 27 | parameters ANY OPTIONAL |
| 28 | } |