summaryrefslogtreecommitdiff
path: root/tests/mscat.asn
blob: beb69f7ceec4bd78b66c4c20099eb42be8cbf686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
CATALOG {}
DEFINITIONS IMPLICIT TAGS ::= -- assuming implicit tags, should try explicit too

BEGIN

-- SPC_PE_IMAGE_DATA
SpcPEImageData ::= SEQUENCE {
    flags       SpcPeImageFlags DEFAULT includeResources,
    link        [0] EXPLICIT SpcLink OPTIONAL
}

SpcPeImageFlags ::= BIT STRING {
    includeResources            (0),
    includeDebugInfo            (1),
    includeImportAddressTable   (2)
}

SpcLink ::= CHOICE {
    url         [0]    IMPLICIT IA5String,
    moniker     [1]    IMPLICIT SpcSerializedObject,
    file        [2]    EXPLICIT SpcString
}

SpcSerializedObject ::= SEQUENCE {
    classId     OCTET STRING, -- GUID
    data        OCTET STRING  -- Binary structure
}

SpcString ::= CHOICE {
    unicode     [0] IMPLICIT BMPString,
    ascii       [1] IMPLICIT IA5String
}

END