xref: /linux/crypto/asymmetric_keys/mscode.asn1 (revision c0c914eca7f251c70facc37dfebeaf176601918d)
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
12MSCode ::= 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
23ContentType ::= OBJECT IDENTIFIER ({ mscode_note_content_type })
24
25DigestAlgorithmIdentifier ::= SEQUENCE {
26	algorithm   OBJECT IDENTIFIER ({ mscode_note_digest_algo }),
27	parameters  ANY OPTIONAL
28}
29