stix_schema_spy 1.3 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/1.2/stix/campaign.xsd +2 -2
- data/config/1.2/stix/cybox/cybox_common.xsd +2700 -2700
- data/config/1.2/stix/cybox/cybox_core.xsd +1145 -1145
- data/config/1.2/stix/cybox/cybox_default_vocabularies.xsd +5180 -5180
- data/config/1.2/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -27
- data/config/1.2/stix/cybox/extensions/platform/cpe2.3.xsd +34 -34
- data/config/1.2/stix/cybox/external/cpe_2.3/xml.xsd +145 -145
- data/config/1.2/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -90
- data/config/1.2/stix/cybox/objects/API_Object.xsd +55 -55
- data/config/1.2/stix/cybox/objects/ARP_Cache_Object.xsd +98 -98
- data/config/1.2/stix/cybox/objects/AS_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/Account_Object.xsd +501 -501
- data/config/1.2/stix/cybox/objects/Address_Object.xsd +127 -127
- data/config/1.2/stix/cybox/objects/Archive_File_Object.xsd +134 -134
- data/config/1.2/stix/cybox/objects/Artifact_Object.xsd +212 -212
- data/config/1.2/stix/cybox/objects/Code_Object.xsd +417 -417
- data/config/1.2/stix/cybox/objects/Custom_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/DNS_Cache_Object.xsd +53 -53
- data/config/1.2/stix/cybox/objects/DNS_Query_Object.xsd +164 -164
- data/config/1.2/stix/cybox/objects/DNS_Record_Object.xsd +92 -92
- data/config/1.2/stix/cybox/objects/Device_Object.xsd +65 -65
- data/config/1.2/stix/cybox/objects/Disk_Object.xsd +117 -117
- data/config/1.2/stix/cybox/objects/Disk_Partition_Object.xsd +199 -199
- data/config/1.2/stix/cybox/objects/Domain_Name_Object.xsd +57 -57
- data/config/1.2/stix/cybox/objects/Email_Message_Object.xsd +278 -278
- data/config/1.2/stix/cybox/objects/File_Object.xsd +397 -397
- data/config/1.2/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -41
- data/config/1.2/stix/cybox/objects/GUI_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/GUI_Window_Object.xsd +46 -46
- data/config/1.2/stix/cybox/objects/HTTP_Session_Object.xsd +633 -633
- data/config/1.2/stix/cybox/objects/Hostname_Object.xsd +45 -45
- data/config/1.2/stix/cybox/objects/Image_File_Object.xsd +124 -124
- data/config/1.2/stix/cybox/objects/Library_Object.xsd +114 -114
- data/config/1.2/stix/cybox/objects/Link_Object.xsd +36 -36
- data/config/1.2/stix/cybox/objects/Linux_Package_Object.xsd +75 -75
- data/config/1.2/stix/cybox/objects/Memory_Object.xsd +141 -141
- data/config/1.2/stix/cybox/objects/Mutex_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Network_Connection_Object.xsd +540 -540
- data/config/1.2/stix/cybox/objects/Network_Flow_Object.xsd +1559 -1559
- data/config/1.2/stix/cybox/objects/Network_Packet_Object.xsd +2934 -2934
- data/config/1.2/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -155
- data/config/1.2/stix/cybox/objects/Network_Route_Object.xsd +93 -93
- data/config/1.2/stix/cybox/objects/Network_Socket_Object.xsd +529 -529
- data/config/1.2/stix/cybox/objects/Network_Subnet_Object.xsd +64 -64
- data/config/1.2/stix/cybox/objects/PDF_File_Object.xsd +595 -595
- data/config/1.2/stix/cybox/objects/Pipe_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Port_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Process_Object.xsd +199 -199
- data/config/1.2/stix/cybox/objects/Product_Object.xsd +65 -65
- data/config/1.2/stix/cybox/objects/SMS_Message_Object.xsd +79 -79
- data/config/1.2/stix/cybox/objects/Semaphore_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/Socket_Address_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/System_Object.xsd +410 -410
- data/config/1.2/stix/cybox/objects/URI_Object.xsd +62 -62
- data/config/1.2/stix/cybox/objects/URL_History_Object.xsd +104 -104
- data/config/1.2/stix/cybox/objects/Unix_File_Object.xsd +164 -164
- data/config/1.2/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -56
- data/config/1.2/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -36
- data/config/1.2/stix/cybox/objects/Unix_Process_Object.xsd +143 -143
- data/config/1.2/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -78
- data/config/1.2/stix/cybox/objects/Unix_Volume_Object.xsd +41 -41
- data/config/1.2/stix/cybox/objects/User_Account_Object.xsd +110 -110
- data/config/1.2/stix/cybox/objects/User_Session_Object.xsd +60 -60
- data/config/1.2/stix/cybox/objects/Volume_Object.xsd +235 -235
- data/config/1.2/stix/cybox/objects/Whois_Object.xsd +430 -430
- data/config/1.2/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -135
- data/config/1.2/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Win_Driver_Object.xsd +270 -270
- data/config/1.2/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -137
- data/config/1.2/stix/cybox/objects/Win_Event_Object.xsd +80 -80
- data/config/1.2/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -1311
- data/config/1.2/stix/cybox/objects/Win_File_Object.xsd +269 -269
- data/config/1.2/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -175
- data/config/1.2/stix/cybox/objects/Win_Handle_Object.xsd +351 -351
- data/config/1.2/stix/cybox/objects/Win_Hook_Object.xsd +152 -152
- data/config/1.2/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -109
- data/config/1.2/stix/cybox/objects/Win_Kernel_Object.xsd +128 -128
- data/config/1.2/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -56
- data/config/1.2/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -198
- data/config/1.2/stix/cybox/objects/Win_Mutex_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -200
- data/config/1.2/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -205
- data/config/1.2/stix/cybox/objects/Win_Pipe_Object.xsd +73 -73
- data/config/1.2/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -113
- data/config/1.2/stix/cybox/objects/Win_Process_Object.xsd +174 -174
- data/config/1.2/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -290
- data/config/1.2/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/Win_Service_Object.xsd +287 -287
- data/config/1.2/stix/cybox/objects/Win_System_Object.xsd +126 -126
- data/config/1.2/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -207
- data/config/1.2/stix/cybox/objects/Win_Task_Object.xsd +755 -755
- data/config/1.2/stix/cybox/objects/Win_Thread_Object.xsd +146 -146
- data/config/1.2/stix/cybox/objects/Win_User_Account_Object.xsd +73 -73
- data/config/1.2/stix/cybox/objects/Win_Volume_Object.xsd +161 -161
- data/config/1.2/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -90
- data/config/1.2/stix/cybox/objects/X509_Certificate_Object.xsd +275 -275
- data/config/1.2/stix/data_marking.xsd +5 -5
- data/config/1.2/stix/exploit_target.xsd +2 -2
- data/config/1.2/stix/incident.xsd +1 -1
- data/config/1.2/stix/indicator.xsd +6 -6
- data/config/1.2/stix/report.xsd +6 -6
- data/config/1.2/stix/stix_common.xsd +22 -22
- data/config/1.2/stix/stix_core.xsd +7 -7
- data/config/1.2/stix/stix_default_vocabularies.xsd +8 -8
- data/config/1.2/stix/ttp.xsd +1 -1
- data/lib/stix_schema_spy/models/has_children.rb +3 -3
- data/lib/stix_schema_spy/version.rb +1 -1
- metadata +2 -2
@@ -1,90 +1,90 @@
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinWaitableTimerObj="http://cybox.mitre.org/objects#WinWaitableTimerObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" targetNamespace="http://cybox.mitre.org/objects#WinWaitableTimerObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
-
<xs:annotation>
|
4
|
-
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
5
|
-
<xs:appinfo>
|
6
|
-
<schema>Win_Waitable_Timer_Object</schema>
|
7
|
-
<version>2.1</version>
|
8
|
-
<date>01/22/2014</date>
|
9
|
-
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
10
|
-
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
11
|
-
</xs:appinfo>
|
12
|
-
</xs:annotation>
|
13
|
-
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
14
|
-
<xs:import namespace="http://cybox.mitre.org/objects#WinHandleObject-2" schemaLocation="Win_Handle_Object.xsd"/>
|
15
|
-
<xs:element name="Windows_Waitable_Timer" type="WinWaitableTimerObj:WindowsWaitableTimerObjectType">
|
16
|
-
<xs:annotation>
|
17
|
-
<xs:documentation>Windows_Waitable_Timer object is intended to characterize Windows waitable timer (synchronization) objects.</xs:documentation>
|
18
|
-
</xs:annotation>
|
19
|
-
</xs:element>
|
20
|
-
<xs:complexType name="WindowsWaitableTimerObjectType" mixed="false">
|
21
|
-
<xs:annotation>
|
22
|
-
<xs:documentation>The WindowsWaitableTimerObjectType is intended to characterize Windows waitable timer (synchronization) objects.</xs:documentation>
|
23
|
-
</xs:annotation>
|
24
|
-
<xs:complexContent mixed="false">
|
25
|
-
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
-
<xs:sequence>
|
27
|
-
<xs:element name="Handle" minOccurs="0" type="WinHandleObj:WindowsHandleObjectType">
|
28
|
-
<xs:annotation>
|
29
|
-
<xs:documentation>The Handle field specifies the handle to the Windows waitable timer object. It imports and uses the WindowsHandleObjectType type from the CybOX Windows Handle object.</xs:documentation>
|
30
|
-
</xs:annotation>
|
31
|
-
</xs:element>
|
32
|
-
<xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
33
|
-
<xs:annotation>
|
34
|
-
<xs:documentation>The Name field specifies the name of the Windows waitable timer object.</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
</xs:element>
|
37
|
-
<xs:element minOccurs="0" name="Security_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
38
|
-
<xs:annotation>
|
39
|
-
<xs:documentation>The Security_Attributes field specifies the security attributes for the Windows waitable timer object.</xs:documentation>
|
40
|
-
</xs:annotation>
|
41
|
-
</xs:element>
|
42
|
-
<xs:element minOccurs="0" name="Type" type="WinWaitableTimerObj:WaitableTimerType">
|
43
|
-
<xs:annotation>
|
44
|
-
<xs:documentation>The Type field specifies the type of the windows waitable timer object.</xs:documentation>
|
45
|
-
</xs:annotation>
|
46
|
-
</xs:element>
|
47
|
-
</xs:sequence>
|
48
|
-
</xs:extension>
|
49
|
-
</xs:complexContent>
|
50
|
-
</xs:complexType>
|
51
|
-
<xs:complexType name="WaitableTimerType">
|
52
|
-
<xs:annotation>
|
53
|
-
<xs:documentation>WaitableTimerType specifies Windows waitable timer types via a union of the WaitableTimerTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
54
|
-
</xs:annotation>
|
55
|
-
<xs:simpleContent>
|
56
|
-
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
57
|
-
<xs:simpleType>
|
58
|
-
<xs:union memberTypes="WinWaitableTimerObj:WaitableTimerTypeEnum xs:string"/>
|
59
|
-
</xs:simpleType>
|
60
|
-
<xs:attribute fixed="string" name="datatype" type="cyboxCommon:DatatypeEnum">
|
61
|
-
<xs:annotation>
|
62
|
-
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
63
|
-
</xs:annotation>
|
64
|
-
</xs:attribute>
|
65
|
-
</xs:restriction>
|
66
|
-
</xs:simpleContent>
|
67
|
-
</xs:complexType>
|
68
|
-
<xs:simpleType name="WaitableTimerTypeEnum">
|
69
|
-
<xs:annotation>
|
70
|
-
<xs:documentation>The WaitableTimerTypeEnum type is an enumeration of Windows waitable timer types.</xs:documentation>
|
71
|
-
</xs:annotation>
|
72
|
-
<xs:restriction base="xs:string">
|
73
|
-
<xs:enumeration value="ManualReset">
|
74
|
-
<xs:annotation>
|
75
|
-
<xs:documentation>A timer whose state remains signaled until SetWaitableTimer is called to establish a new due time. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
76
|
-
</xs:annotation>
|
77
|
-
</xs:enumeration>
|
78
|
-
<xs:enumeration value="Synchronization">
|
79
|
-
<xs:annotation>
|
80
|
-
<xs:documentation>A timer whose state remains signaled until a thread completes a wait operation on the timer object. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
81
|
-
</xs:annotation>
|
82
|
-
</xs:enumeration>
|
83
|
-
<xs:enumeration value="Periodic">
|
84
|
-
<xs:annotation>
|
85
|
-
<xs:documentation>A timer that is reactivated each time the specified period expires, until the timer is reset or canceled. A periodic timer is either a periodic manual-reset timer or a periodic synchronization timer. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
86
|
-
</xs:annotation>
|
87
|
-
</xs:enumeration>
|
88
|
-
</xs:restriction>
|
89
|
-
</xs:simpleType>
|
90
|
-
</xs:schema>
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinWaitableTimerObj="http://cybox.mitre.org/objects#WinWaitableTimerObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" targetNamespace="http://cybox.mitre.org/objects#WinWaitableTimerObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
5
|
+
<xs:appinfo>
|
6
|
+
<schema>Win_Waitable_Timer_Object</schema>
|
7
|
+
<version>2.1</version>
|
8
|
+
<date>01/22/2014</date>
|
9
|
+
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
10
|
+
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
11
|
+
</xs:appinfo>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
14
|
+
<xs:import namespace="http://cybox.mitre.org/objects#WinHandleObject-2" schemaLocation="Win_Handle_Object.xsd"/>
|
15
|
+
<xs:element name="Windows_Waitable_Timer" type="WinWaitableTimerObj:WindowsWaitableTimerObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>Windows_Waitable_Timer object is intended to characterize Windows waitable timer (synchronization) objects.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="WindowsWaitableTimerObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The WindowsWaitableTimerObjectType is intended to characterize Windows waitable timer (synchronization) objects.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent mixed="false">
|
25
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="Handle" minOccurs="0" type="WinHandleObj:WindowsHandleObjectType">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Handle field specifies the handle to the Windows waitable timer object. It imports and uses the WindowsHandleObjectType type from the CybOX Windows Handle object.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Name field specifies the name of the Windows waitable timer object.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element minOccurs="0" name="Security_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>The Security_Attributes field specifies the security attributes for the Windows waitable timer object.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
<xs:element minOccurs="0" name="Type" type="WinWaitableTimerObj:WaitableTimerType">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The Type field specifies the type of the windows waitable timer object.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
</xs:sequence>
|
48
|
+
</xs:extension>
|
49
|
+
</xs:complexContent>
|
50
|
+
</xs:complexType>
|
51
|
+
<xs:complexType name="WaitableTimerType">
|
52
|
+
<xs:annotation>
|
53
|
+
<xs:documentation>WaitableTimerType specifies Windows waitable timer types via a union of the WaitableTimerTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
54
|
+
</xs:annotation>
|
55
|
+
<xs:simpleContent>
|
56
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:union memberTypes="WinWaitableTimerObj:WaitableTimerTypeEnum xs:string"/>
|
59
|
+
</xs:simpleType>
|
60
|
+
<xs:attribute fixed="string" name="datatype" type="cyboxCommon:DatatypeEnum">
|
61
|
+
<xs:annotation>
|
62
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
</xs:attribute>
|
65
|
+
</xs:restriction>
|
66
|
+
</xs:simpleContent>
|
67
|
+
</xs:complexType>
|
68
|
+
<xs:simpleType name="WaitableTimerTypeEnum">
|
69
|
+
<xs:annotation>
|
70
|
+
<xs:documentation>The WaitableTimerTypeEnum type is an enumeration of Windows waitable timer types.</xs:documentation>
|
71
|
+
</xs:annotation>
|
72
|
+
<xs:restriction base="xs:string">
|
73
|
+
<xs:enumeration value="ManualReset">
|
74
|
+
<xs:annotation>
|
75
|
+
<xs:documentation>A timer whose state remains signaled until SetWaitableTimer is called to establish a new due time. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
76
|
+
</xs:annotation>
|
77
|
+
</xs:enumeration>
|
78
|
+
<xs:enumeration value="Synchronization">
|
79
|
+
<xs:annotation>
|
80
|
+
<xs:documentation>A timer whose state remains signaled until a thread completes a wait operation on the timer object. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
81
|
+
</xs:annotation>
|
82
|
+
</xs:enumeration>
|
83
|
+
<xs:enumeration value="Periodic">
|
84
|
+
<xs:annotation>
|
85
|
+
<xs:documentation>A timer that is reactivated each time the specified period expires, until the timer is reset or canceled. A periodic timer is either a periodic manual-reset timer or a periodic synchronization timer. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms687012(v=vs.85).aspx.</xs:documentation>
|
86
|
+
</xs:annotation>
|
87
|
+
</xs:enumeration>
|
88
|
+
</xs:restriction>
|
89
|
+
</xs:simpleType>
|
90
|
+
</xs:schema>
|
@@ -1,275 +1,275 @@
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:X509CertificateObj="http://cybox.mitre.org/objects#X509CertificateObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#X509CertificateObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
-
<xs:annotation>
|
4
|
-
|
5
|
-
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
6
|
-
<xs:appinfo>
|
7
|
-
<schema>X509_Certificate_Object</schema>
|
8
|
-
<version>2.1</version>
|
9
|
-
<date>01/22/2014</date>
|
10
|
-
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
11
|
-
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
12
|
-
</xs:appinfo>
|
13
|
-
</xs:annotation>
|
14
|
-
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
15
|
-
<xs:element name="X509_Certificate" type="X509CertificateObj:X509CertificateObjectType">
|
16
|
-
<xs:annotation>
|
17
|
-
<xs:documentation>X509_Certificate object represents a public key certificate for use in a public key infrastructure.</xs:documentation>
|
18
|
-
</xs:annotation>
|
19
|
-
</xs:element>
|
20
|
-
<xs:complexType mixed="false" name="X509CertificateObjectType">
|
21
|
-
<xs:annotation>
|
22
|
-
<xs:documentation>The X509CertificateObjectType type is intended to characterize X.509 certificates.</xs:documentation>
|
23
|
-
</xs:annotation>
|
24
|
-
<xs:complexContent mixed="false">
|
25
|
-
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
-
<xs:sequence>
|
27
|
-
<xs:element minOccurs="0" name="Certificate" type="X509CertificateObj:X509CertificateContentsType">
|
28
|
-
<xs:annotation>
|
29
|
-
<xs:documentation>Certificate represents the contents of an X.509 certificate, including items such as issuer, subject, and others.</xs:documentation>
|
30
|
-
</xs:annotation>
|
31
|
-
</xs:element>
|
32
|
-
<xs:element minOccurs="0" name="Raw_Certificate" type="cyboxCommon:StringObjectPropertyType">
|
33
|
-
<xs:annotation>
|
34
|
-
<xs:documentation>The Raw_Certificate field captures the raw content of an X.509 certificate including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
</xs:element>
|
37
|
-
<xs:element minOccurs="0" name="Certificate_Signature" type="X509CertificateObj:X509CertificateSignatureType">
|
38
|
-
<xs:annotation>
|
39
|
-
<xs:documentation>Certificate Signature contains the signature and signature algorithm of this X.509 certificate.</xs:documentation>
|
40
|
-
</xs:annotation>
|
41
|
-
</xs:element>
|
42
|
-
</xs:sequence>
|
43
|
-
</xs:extension>
|
44
|
-
</xs:complexContent>
|
45
|
-
</xs:complexType>
|
46
|
-
<xs:complexType name="X509CertificateContentsType">
|
47
|
-
<xs:annotation>
|
48
|
-
<xs:documentation>The X509CertificateContentsType type represents the contents of an X.509 certificate, including items such as issuer, subject, and others.</xs:documentation>
|
49
|
-
</xs:annotation>
|
50
|
-
<xs:sequence>
|
51
|
-
<xs:element minOccurs="0" name="Version" type="cyboxCommon:IntegerObjectPropertyType">
|
52
|
-
<xs:annotation>
|
53
|
-
<xs:documentation>Version describes the version of the encoded certificate.</xs:documentation>
|
54
|
-
</xs:annotation>
|
55
|
-
</xs:element>
|
56
|
-
<xs:element minOccurs="0" name="Serial_Number" type="cyboxCommon:StringObjectPropertyType">
|
57
|
-
<xs:annotation>
|
58
|
-
<xs:documentation>The serial number is a unique identifier for each X.509 certificate issued by a specific Certificate Authority.</xs:documentation>
|
59
|
-
</xs:annotation>
|
60
|
-
</xs:element>
|
61
|
-
<xs:element minOccurs="0" name="Signature_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
62
|
-
<xs:annotation>
|
63
|
-
<xs:documentation>The signature algorithm is the algorithm used to sign the X.509 certificate.</xs:documentation>
|
64
|
-
</xs:annotation>
|
65
|
-
</xs:element>
|
66
|
-
<xs:element minOccurs="0" name="Issuer" type="cyboxCommon:StringObjectPropertyType">
|
67
|
-
<xs:annotation>
|
68
|
-
<xs:documentation>The issuer is the Certificate Authority who issued the X.509 certificate.</xs:documentation>
|
69
|
-
</xs:annotation>
|
70
|
-
</xs:element>
|
71
|
-
<xs:element minOccurs="0" name="Validity" type="X509CertificateObj:ValidityType">
|
72
|
-
<xs:annotation>
|
73
|
-
<xs:documentation>Validity is the time interval during which the issuer warrants that it will maintain information about the status of the certificate.</xs:documentation>
|
74
|
-
</xs:annotation>
|
75
|
-
</xs:element>
|
76
|
-
<xs:element minOccurs="0" name="Subject" type="cyboxCommon:StringObjectPropertyType">
|
77
|
-
<xs:annotation>
|
78
|
-
<xs:documentation>The subject identifies the entity associated with the public key stored in the subject public key field of the X.509 certificate.</xs:documentation>
|
79
|
-
</xs:annotation>
|
80
|
-
</xs:element>
|
81
|
-
<xs:element minOccurs="0" name="Subject_Public_Key" type="X509CertificateObj:SubjectPublicKeyType">
|
82
|
-
<xs:annotation>
|
83
|
-
<xs:documentation>The Subject Public Key is used to carry the public key and identify the algorithm with which the key is used.</xs:documentation>
|
84
|
-
</xs:annotation>
|
85
|
-
</xs:element>
|
86
|
-
<xs:element minOccurs="0" name="Standard_Extensions" type="X509CertificateObj:X509V3ExtensionsType">
|
87
|
-
<xs:annotation>
|
88
|
-
<xs:documentation>The Standard_Extensions field captures standard X509 V3 extensions that may be specified in the certificate.</xs:documentation>
|
89
|
-
</xs:annotation>
|
90
|
-
</xs:element>
|
91
|
-
<xs:element minOccurs="0" name="Non_Standard_Extensions" type="X509CertificateObj:X509NonStandardExtensionsType">
|
92
|
-
<xs:annotation>
|
93
|
-
<xs:documentation>The Non_Standard_Extensions field captures non-standard X509 extensions that may be specified in the certificate.</xs:documentation>
|
94
|
-
</xs:annotation>
|
95
|
-
</xs:element>
|
96
|
-
</xs:sequence>
|
97
|
-
</xs:complexType>
|
98
|
-
<xs:complexType name="X509CertificateSignatureType">
|
99
|
-
<xs:annotation>
|
100
|
-
<xs:documentation>The X509CertificateSignatureType contains the signature and signature algorithm of this X.509 certificate.</xs:documentation>
|
101
|
-
</xs:annotation>
|
102
|
-
<xs:sequence>
|
103
|
-
<xs:element minOccurs="0" name="Signature_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
104
|
-
<xs:annotation>
|
105
|
-
<xs:documentation>Signature Algorithm contains the algorithm identifier for the algorithm used by the Certificate Authority to compute the signature.</xs:documentation>
|
106
|
-
</xs:annotation>
|
107
|
-
</xs:element>
|
108
|
-
<xs:element name="Signature" type="cyboxCommon:StringObjectPropertyType" maxOccurs="1" minOccurs="0">
|
109
|
-
<xs:annotation>
|
110
|
-
<xs:documentation>Signature contains a digital signature computed upon this X.509 certificate.</xs:documentation>
|
111
|
-
</xs:annotation>
|
112
|
-
</xs:element>
|
113
|
-
</xs:sequence>
|
114
|
-
</xs:complexType>
|
115
|
-
<xs:complexType name="SubjectPublicKeyType">
|
116
|
-
<xs:annotation>
|
117
|
-
<xs:documentation>The SubjectPublicKeyType is used to carry the public key and identify the algorithm with which the key is used.</xs:documentation>
|
118
|
-
</xs:annotation>
|
119
|
-
<xs:sequence>
|
120
|
-
<xs:element minOccurs="0" name="Public_Key_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
121
|
-
<xs:annotation>
|
122
|
-
<xs:documentation>Public Key Algorithm is the algorithm with which to encrypt data being sent to the subject.</xs:documentation>
|
123
|
-
</xs:annotation>
|
124
|
-
</xs:element>
|
125
|
-
<xs:element minOccurs="0" name="RSA_Public_Key" type="X509CertificateObj:RSAPublicKeyType">
|
126
|
-
<xs:annotation>
|
127
|
-
<xs:documentation>RSA Public Key is the public key contained in this X.509 certificate.</xs:documentation>
|
128
|
-
</xs:annotation>
|
129
|
-
</xs:element>
|
130
|
-
</xs:sequence>
|
131
|
-
</xs:complexType>
|
132
|
-
<xs:complexType name="ValidityType">
|
133
|
-
<xs:annotation>
|
134
|
-
<xs:documentation>The ValidityType type is the time interval during which the issuer warrants that it will maintain information about the status of the certificate.</xs:documentation>
|
135
|
-
</xs:annotation>
|
136
|
-
<xs:sequence>
|
137
|
-
<xs:element minOccurs="0" name="Not_Before" type="cyboxCommon:DateTimeObjectPropertyType">
|
138
|
-
<xs:annotation>
|
139
|
-
<xs:documentation>Not before is the date on which the certificate validity period begins.</xs:documentation>
|
140
|
-
</xs:annotation>
|
141
|
-
</xs:element>
|
142
|
-
<xs:element minOccurs="0" name="Not_After" type="cyboxCommon:DateTimeObjectPropertyType">
|
143
|
-
<xs:annotation>
|
144
|
-
<xs:documentation>Not after is the date on which the certificate validity period ends.</xs:documentation>
|
145
|
-
</xs:annotation>
|
146
|
-
</xs:element>
|
147
|
-
</xs:sequence>
|
148
|
-
</xs:complexType>
|
149
|
-
<xs:complexType name="RSAPublicKeyType">
|
150
|
-
<xs:annotation>
|
151
|
-
<xs:documentation>The RSAPublicKeyType captures details of RSA public keys.</xs:documentation>
|
152
|
-
</xs:annotation>
|
153
|
-
<xs:sequence>
|
154
|
-
<xs:element name="Modulus" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
155
|
-
<xs:annotation>
|
156
|
-
<xs:documentation>Modulus is the modulus portion of a public key.</xs:documentation>
|
157
|
-
</xs:annotation>
|
158
|
-
</xs:element>
|
159
|
-
<xs:element minOccurs="0" name="Exponent" type="cyboxCommon:IntegerObjectPropertyType">
|
160
|
-
<xs:annotation>
|
161
|
-
<xs:documentation>Exponent is the exponent portion of a public key.</xs:documentation>
|
162
|
-
</xs:annotation>
|
163
|
-
</xs:element>
|
164
|
-
</xs:sequence>
|
165
|
-
</xs:complexType>
|
166
|
-
<xs:complexType name="X509V3ExtensionsType">
|
167
|
-
<xs:annotation>
|
168
|
-
<xs:documentation>The X509V3ExtensionsType captures the standard X509 V3 Extensions that may be used in X509 certificates. Based on RFC 3280, "Standard Extensions": http://www.ietf.org/rfc/rfc3280.txt.</xs:documentation>
|
169
|
-
</xs:annotation>
|
170
|
-
<xs:sequence>
|
171
|
-
<xs:element minOccurs="0" name="Basic_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
172
|
-
<xs:annotation>
|
173
|
-
<xs:documentation>The Basic_Constraints field captures a multi-valued extension which indicates whether a certificate is a CA certificate. The first (mandatory) name is CA followed by TRUE or FALSE. If CA is TRUE then an optional pathlen name followed by an non-negative value can be included. Also equivalent to the object ID (OID) value of 2.5.29.19.</xs:documentation>
|
174
|
-
</xs:annotation>
|
175
|
-
</xs:element>
|
176
|
-
<xs:element minOccurs="0" name="Name_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
177
|
-
<xs:annotation>
|
178
|
-
<xs:documentation>The Name_Constraints field captures a name space within which all subject names in subsequent certificates in a certification path MUST be located. Also equivalent to the object ID (OID) value of 2.5.29.30.</xs:documentation>
|
179
|
-
</xs:annotation>
|
180
|
-
</xs:element>
|
181
|
-
<xs:element minOccurs="0" name="Policy_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
182
|
-
<xs:annotation>
|
183
|
-
<xs:documentation>The Policy_Constraints field captures any constraints on path validation for certificates issued to CAs. Also equivalent to the object ID (OID) value of 2.5.29.36.</xs:documentation>
|
184
|
-
</xs:annotation>
|
185
|
-
</xs:element>
|
186
|
-
<xs:element minOccurs="0" name="Key_Usage" type="cyboxCommon:StringObjectPropertyType">
|
187
|
-
<xs:annotation>
|
188
|
-
<xs:documentation>The Key_Usage element field captures a multi-valued extension consisting of a list of names of the permitted key usages. Also equivalent to the object ID (OID) value of 2.5.29.15.</xs:documentation>
|
189
|
-
</xs:annotation>
|
190
|
-
</xs:element>
|
191
|
-
<xs:element minOccurs="0" name="Extended_Key_Usage" type="cyboxCommon:StringObjectPropertyType">
|
192
|
-
<xs:annotation>
|
193
|
-
<xs:documentation>The Extended_Key_Usage field captures a list of usages indicating purposes for which the certificate public key can be used for. Also equivalent to the object ID (OID) value of 2.5.29.37.</xs:documentation>
|
194
|
-
</xs:annotation>
|
195
|
-
</xs:element>
|
196
|
-
<xs:element minOccurs="0" name="Subject_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
197
|
-
<xs:annotation>
|
198
|
-
<xs:documentation>The Subject_Key_Identifier field captures the identifier that provides a means of identifying certificates that contain a particular public key. Also equivalent to the object ID (OID) value of 2.5.29.14.</xs:documentation>
|
199
|
-
</xs:annotation>
|
200
|
-
</xs:element>
|
201
|
-
<xs:element minOccurs="0" name="Authority_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
202
|
-
<xs:annotation>
|
203
|
-
<xs:documentation>The Authority_Key_Identifier field captures the identifier that provides a means of identifying the public key corresponding to the private key used to sign a certificate. Also equivalent to the object ID (OID) value of 2.5.29.35.</xs:documentation>
|
204
|
-
</xs:annotation>
|
205
|
-
</xs:element>
|
206
|
-
<xs:element minOccurs="0" name="Subject_Alternative_Name" type="cyboxCommon:StringObjectPropertyType">
|
207
|
-
<xs:annotation>
|
208
|
-
<xs:documentation>The Subject_Alternative_Name field captures the additional identities to be bound to the subject of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.17.</xs:documentation>
|
209
|
-
</xs:annotation>
|
210
|
-
</xs:element>
|
211
|
-
<xs:element minOccurs="0" name="Issuer_Alternative_Name" type="cyboxCommon:StringObjectPropertyType">
|
212
|
-
<xs:annotation>
|
213
|
-
<xs:documentation>The Issuer_Alternative_Name field captures the additional identities to be bound to the issuer of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.18.</xs:documentation>
|
214
|
-
</xs:annotation>
|
215
|
-
</xs:element>
|
216
|
-
<xs:element minOccurs="0" name="Subject_Directory_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
217
|
-
<xs:annotation>
|
218
|
-
<xs:documentation>The Subject_Directory_Attributes field captures the identification attributes (e.g., nationality) of the subject. Also equivalent to the object ID (OID) value of 2.5.29.9.</xs:documentation>
|
219
|
-
</xs:annotation>
|
220
|
-
</xs:element>
|
221
|
-
<xs:element minOccurs="0" name="CRL_Distribution_Points" type="cyboxCommon:StringObjectPropertyType">
|
222
|
-
<xs:annotation>
|
223
|
-
<xs:documentation>The CRL_Distribution_Points field captures how CRL information is obtained. Also equivalent to the object ID (OID) value of 2.5.29.31.</xs:documentation>
|
224
|
-
</xs:annotation>
|
225
|
-
</xs:element>
|
226
|
-
<xs:element minOccurs="0" name="Inhibit_Any_Policy" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
227
|
-
<xs:annotation>
|
228
|
-
<xs:documentation>The Inhibit_Any_Policy field the number of additional certificates that may appear in the path before anyPolicy is no longer permitted. Also equivalent to the object ID (OID) value of 2.5.29.54.</xs:documentation>
|
229
|
-
</xs:annotation>
|
230
|
-
</xs:element>
|
231
|
-
<xs:element minOccurs="0" name="Private_Key_Usage_Period" type="X509CertificateObj:ValidityType">
|
232
|
-
<xs:annotation>
|
233
|
-
<xs:documentation>The Private_Key_Usage_Period field captures the validity period for the private key, if it is different from the validity period of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.16.</xs:documentation>
|
234
|
-
</xs:annotation>
|
235
|
-
</xs:element>
|
236
|
-
<xs:element minOccurs="0" name="Certificate_Policies" type="cyboxCommon:StringObjectPropertyType">
|
237
|
-
<xs:annotation>
|
238
|
-
<xs:documentation>The Certificate_Policies field captures a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. Also equivalent to the object ID (OID) value of 2.5.29.32.</xs:documentation>
|
239
|
-
</xs:annotation>
|
240
|
-
</xs:element>
|
241
|
-
<xs:element minOccurs="0" name="Policy_Mappings" type="cyboxCommon:StringObjectPropertyType">
|
242
|
-
<xs:annotation>
|
243
|
-
<xs:documentation>The Policy_Mappings field captures one or more pairs of OIDs; each pair includes an issuerDomainPolicy and a subjectDomainPolicy. The pairing indicates whether the issuing CA considers its issuerDomainPolicy equivalent to the subject CA's subjectDomainPolicy. Also equivalent to the object ID (OID) value of 2.5.29.33.</xs:documentation>
|
244
|
-
</xs:annotation>
|
245
|
-
</xs:element>
|
246
|
-
</xs:sequence>
|
247
|
-
</xs:complexType>
|
248
|
-
<xs:complexType name="X509NonStandardExtensionsType">
|
249
|
-
<xs:annotation>
|
250
|
-
<xs:documentation>The NonStandardX509ExtensionsType captures some non-standard or deprecated X509 extensions that may be useful. Based on the OpenSSL "Deprecated Extensions" documentation: https://www.openssl.org/docs/apps/x509v3_config.html#Deprecated_Extensions. Also based on the Alvestrand certificateExtension reference: http://www.alvestrand.no/objectid/2.5.29.html.</xs:documentation>
|
251
|
-
</xs:annotation>
|
252
|
-
<xs:sequence>
|
253
|
-
<xs:element minOccurs="0" name="Netscape_Comment" type="cyboxCommon:StringObjectPropertyType">
|
254
|
-
<xs:annotation>
|
255
|
-
<xs:documentation>The Netscape_Comment field captures a comment which may be displayed when the certificate is viewed in some browsers.</xs:documentation>
|
256
|
-
</xs:annotation>
|
257
|
-
</xs:element>
|
258
|
-
<xs:element minOccurs="0" name="Netscape_Certificate_Type" type="cyboxCommon:StringObjectPropertyType">
|
259
|
-
<xs:annotation>
|
260
|
-
<xs:documentation>The Netscape_Certificate_Type field captures a list of flags which indicate the purposes for which a certificate could be used.</xs:documentation>
|
261
|
-
</xs:annotation>
|
262
|
-
</xs:element>
|
263
|
-
<xs:element minOccurs="0" name="Old_Authority_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
264
|
-
<xs:annotation>
|
265
|
-
<xs:documentation>The Old_Authority_Key_Identifier captures the old version of the authority key identifier, equivalent to the object ID (OID) value of 2.5.29.1.</xs:documentation>
|
266
|
-
</xs:annotation>
|
267
|
-
</xs:element>
|
268
|
-
<xs:element minOccurs="0" name="Old_Primary_Key_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
269
|
-
<xs:annotation>
|
270
|
-
<xs:documentation>The Old_Primary_Key_Attributes field captures the old version of the primary key attributes, equivalent to the object ID (OID) value of 2.5.29.2.</xs:documentation>
|
271
|
-
</xs:annotation>
|
272
|
-
</xs:element>
|
273
|
-
</xs:sequence>
|
274
|
-
</xs:complexType>
|
275
|
-
</xs:schema>
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:X509CertificateObj="http://cybox.mitre.org/objects#X509CertificateObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#X509CertificateObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
+
<xs:annotation>
|
4
|
+
|
5
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
6
|
+
<xs:appinfo>
|
7
|
+
<schema>X509_Certificate_Object</schema>
|
8
|
+
<version>2.1</version>
|
9
|
+
<date>01/22/2014</date>
|
10
|
+
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
11
|
+
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
12
|
+
</xs:appinfo>
|
13
|
+
</xs:annotation>
|
14
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
15
|
+
<xs:element name="X509_Certificate" type="X509CertificateObj:X509CertificateObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>X509_Certificate object represents a public key certificate for use in a public key infrastructure.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType mixed="false" name="X509CertificateObjectType">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The X509CertificateObjectType type is intended to characterize X.509 certificates.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent mixed="false">
|
25
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element minOccurs="0" name="Certificate" type="X509CertificateObj:X509CertificateContentsType">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>Certificate represents the contents of an X.509 certificate, including items such as issuer, subject, and others.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element minOccurs="0" name="Raw_Certificate" type="cyboxCommon:StringObjectPropertyType">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Raw_Certificate field captures the raw content of an X.509 certificate including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element minOccurs="0" name="Certificate_Signature" type="X509CertificateObj:X509CertificateSignatureType">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>Certificate Signature contains the signature and signature algorithm of this X.509 certificate.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
</xs:sequence>
|
43
|
+
</xs:extension>
|
44
|
+
</xs:complexContent>
|
45
|
+
</xs:complexType>
|
46
|
+
<xs:complexType name="X509CertificateContentsType">
|
47
|
+
<xs:annotation>
|
48
|
+
<xs:documentation>The X509CertificateContentsType type represents the contents of an X.509 certificate, including items such as issuer, subject, and others.</xs:documentation>
|
49
|
+
</xs:annotation>
|
50
|
+
<xs:sequence>
|
51
|
+
<xs:element minOccurs="0" name="Version" type="cyboxCommon:IntegerObjectPropertyType">
|
52
|
+
<xs:annotation>
|
53
|
+
<xs:documentation>Version describes the version of the encoded certificate.</xs:documentation>
|
54
|
+
</xs:annotation>
|
55
|
+
</xs:element>
|
56
|
+
<xs:element minOccurs="0" name="Serial_Number" type="cyboxCommon:StringObjectPropertyType">
|
57
|
+
<xs:annotation>
|
58
|
+
<xs:documentation>The serial number is a unique identifier for each X.509 certificate issued by a specific Certificate Authority.</xs:documentation>
|
59
|
+
</xs:annotation>
|
60
|
+
</xs:element>
|
61
|
+
<xs:element minOccurs="0" name="Signature_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
62
|
+
<xs:annotation>
|
63
|
+
<xs:documentation>The signature algorithm is the algorithm used to sign the X.509 certificate.</xs:documentation>
|
64
|
+
</xs:annotation>
|
65
|
+
</xs:element>
|
66
|
+
<xs:element minOccurs="0" name="Issuer" type="cyboxCommon:StringObjectPropertyType">
|
67
|
+
<xs:annotation>
|
68
|
+
<xs:documentation>The issuer is the Certificate Authority who issued the X.509 certificate.</xs:documentation>
|
69
|
+
</xs:annotation>
|
70
|
+
</xs:element>
|
71
|
+
<xs:element minOccurs="0" name="Validity" type="X509CertificateObj:ValidityType">
|
72
|
+
<xs:annotation>
|
73
|
+
<xs:documentation>Validity is the time interval during which the issuer warrants that it will maintain information about the status of the certificate.</xs:documentation>
|
74
|
+
</xs:annotation>
|
75
|
+
</xs:element>
|
76
|
+
<xs:element minOccurs="0" name="Subject" type="cyboxCommon:StringObjectPropertyType">
|
77
|
+
<xs:annotation>
|
78
|
+
<xs:documentation>The subject identifies the entity associated with the public key stored in the subject public key field of the X.509 certificate.</xs:documentation>
|
79
|
+
</xs:annotation>
|
80
|
+
</xs:element>
|
81
|
+
<xs:element minOccurs="0" name="Subject_Public_Key" type="X509CertificateObj:SubjectPublicKeyType">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>The Subject Public Key is used to carry the public key and identify the algorithm with which the key is used.</xs:documentation>
|
84
|
+
</xs:annotation>
|
85
|
+
</xs:element>
|
86
|
+
<xs:element minOccurs="0" name="Standard_Extensions" type="X509CertificateObj:X509V3ExtensionsType">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation>The Standard_Extensions field captures standard X509 V3 extensions that may be specified in the certificate.</xs:documentation>
|
89
|
+
</xs:annotation>
|
90
|
+
</xs:element>
|
91
|
+
<xs:element minOccurs="0" name="Non_Standard_Extensions" type="X509CertificateObj:X509NonStandardExtensionsType">
|
92
|
+
<xs:annotation>
|
93
|
+
<xs:documentation>The Non_Standard_Extensions field captures non-standard X509 extensions that may be specified in the certificate.</xs:documentation>
|
94
|
+
</xs:annotation>
|
95
|
+
</xs:element>
|
96
|
+
</xs:sequence>
|
97
|
+
</xs:complexType>
|
98
|
+
<xs:complexType name="X509CertificateSignatureType">
|
99
|
+
<xs:annotation>
|
100
|
+
<xs:documentation>The X509CertificateSignatureType contains the signature and signature algorithm of this X.509 certificate.</xs:documentation>
|
101
|
+
</xs:annotation>
|
102
|
+
<xs:sequence>
|
103
|
+
<xs:element minOccurs="0" name="Signature_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
104
|
+
<xs:annotation>
|
105
|
+
<xs:documentation>Signature Algorithm contains the algorithm identifier for the algorithm used by the Certificate Authority to compute the signature.</xs:documentation>
|
106
|
+
</xs:annotation>
|
107
|
+
</xs:element>
|
108
|
+
<xs:element name="Signature" type="cyboxCommon:StringObjectPropertyType" maxOccurs="1" minOccurs="0">
|
109
|
+
<xs:annotation>
|
110
|
+
<xs:documentation>Signature contains a digital signature computed upon this X.509 certificate.</xs:documentation>
|
111
|
+
</xs:annotation>
|
112
|
+
</xs:element>
|
113
|
+
</xs:sequence>
|
114
|
+
</xs:complexType>
|
115
|
+
<xs:complexType name="SubjectPublicKeyType">
|
116
|
+
<xs:annotation>
|
117
|
+
<xs:documentation>The SubjectPublicKeyType is used to carry the public key and identify the algorithm with which the key is used.</xs:documentation>
|
118
|
+
</xs:annotation>
|
119
|
+
<xs:sequence>
|
120
|
+
<xs:element minOccurs="0" name="Public_Key_Algorithm" type="cyboxCommon:StringObjectPropertyType">
|
121
|
+
<xs:annotation>
|
122
|
+
<xs:documentation>Public Key Algorithm is the algorithm with which to encrypt data being sent to the subject.</xs:documentation>
|
123
|
+
</xs:annotation>
|
124
|
+
</xs:element>
|
125
|
+
<xs:element minOccurs="0" name="RSA_Public_Key" type="X509CertificateObj:RSAPublicKeyType">
|
126
|
+
<xs:annotation>
|
127
|
+
<xs:documentation>RSA Public Key is the public key contained in this X.509 certificate.</xs:documentation>
|
128
|
+
</xs:annotation>
|
129
|
+
</xs:element>
|
130
|
+
</xs:sequence>
|
131
|
+
</xs:complexType>
|
132
|
+
<xs:complexType name="ValidityType">
|
133
|
+
<xs:annotation>
|
134
|
+
<xs:documentation>The ValidityType type is the time interval during which the issuer warrants that it will maintain information about the status of the certificate.</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
<xs:sequence>
|
137
|
+
<xs:element minOccurs="0" name="Not_Before" type="cyboxCommon:DateTimeObjectPropertyType">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation>Not before is the date on which the certificate validity period begins.</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
</xs:element>
|
142
|
+
<xs:element minOccurs="0" name="Not_After" type="cyboxCommon:DateTimeObjectPropertyType">
|
143
|
+
<xs:annotation>
|
144
|
+
<xs:documentation>Not after is the date on which the certificate validity period ends.</xs:documentation>
|
145
|
+
</xs:annotation>
|
146
|
+
</xs:element>
|
147
|
+
</xs:sequence>
|
148
|
+
</xs:complexType>
|
149
|
+
<xs:complexType name="RSAPublicKeyType">
|
150
|
+
<xs:annotation>
|
151
|
+
<xs:documentation>The RSAPublicKeyType captures details of RSA public keys.</xs:documentation>
|
152
|
+
</xs:annotation>
|
153
|
+
<xs:sequence>
|
154
|
+
<xs:element name="Modulus" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
155
|
+
<xs:annotation>
|
156
|
+
<xs:documentation>Modulus is the modulus portion of a public key.</xs:documentation>
|
157
|
+
</xs:annotation>
|
158
|
+
</xs:element>
|
159
|
+
<xs:element minOccurs="0" name="Exponent" type="cyboxCommon:IntegerObjectPropertyType">
|
160
|
+
<xs:annotation>
|
161
|
+
<xs:documentation>Exponent is the exponent portion of a public key.</xs:documentation>
|
162
|
+
</xs:annotation>
|
163
|
+
</xs:element>
|
164
|
+
</xs:sequence>
|
165
|
+
</xs:complexType>
|
166
|
+
<xs:complexType name="X509V3ExtensionsType">
|
167
|
+
<xs:annotation>
|
168
|
+
<xs:documentation>The X509V3ExtensionsType captures the standard X509 V3 Extensions that may be used in X509 certificates. Based on RFC 3280, "Standard Extensions": http://www.ietf.org/rfc/rfc3280.txt.</xs:documentation>
|
169
|
+
</xs:annotation>
|
170
|
+
<xs:sequence>
|
171
|
+
<xs:element minOccurs="0" name="Basic_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
172
|
+
<xs:annotation>
|
173
|
+
<xs:documentation>The Basic_Constraints field captures a multi-valued extension which indicates whether a certificate is a CA certificate. The first (mandatory) name is CA followed by TRUE or FALSE. If CA is TRUE then an optional pathlen name followed by an non-negative value can be included. Also equivalent to the object ID (OID) value of 2.5.29.19.</xs:documentation>
|
174
|
+
</xs:annotation>
|
175
|
+
</xs:element>
|
176
|
+
<xs:element minOccurs="0" name="Name_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
177
|
+
<xs:annotation>
|
178
|
+
<xs:documentation>The Name_Constraints field captures a name space within which all subject names in subsequent certificates in a certification path MUST be located. Also equivalent to the object ID (OID) value of 2.5.29.30.</xs:documentation>
|
179
|
+
</xs:annotation>
|
180
|
+
</xs:element>
|
181
|
+
<xs:element minOccurs="0" name="Policy_Constraints" type="cyboxCommon:StringObjectPropertyType">
|
182
|
+
<xs:annotation>
|
183
|
+
<xs:documentation>The Policy_Constraints field captures any constraints on path validation for certificates issued to CAs. Also equivalent to the object ID (OID) value of 2.5.29.36.</xs:documentation>
|
184
|
+
</xs:annotation>
|
185
|
+
</xs:element>
|
186
|
+
<xs:element minOccurs="0" name="Key_Usage" type="cyboxCommon:StringObjectPropertyType">
|
187
|
+
<xs:annotation>
|
188
|
+
<xs:documentation>The Key_Usage element field captures a multi-valued extension consisting of a list of names of the permitted key usages. Also equivalent to the object ID (OID) value of 2.5.29.15.</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
</xs:element>
|
191
|
+
<xs:element minOccurs="0" name="Extended_Key_Usage" type="cyboxCommon:StringObjectPropertyType">
|
192
|
+
<xs:annotation>
|
193
|
+
<xs:documentation>The Extended_Key_Usage field captures a list of usages indicating purposes for which the certificate public key can be used for. Also equivalent to the object ID (OID) value of 2.5.29.37.</xs:documentation>
|
194
|
+
</xs:annotation>
|
195
|
+
</xs:element>
|
196
|
+
<xs:element minOccurs="0" name="Subject_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
197
|
+
<xs:annotation>
|
198
|
+
<xs:documentation>The Subject_Key_Identifier field captures the identifier that provides a means of identifying certificates that contain a particular public key. Also equivalent to the object ID (OID) value of 2.5.29.14.</xs:documentation>
|
199
|
+
</xs:annotation>
|
200
|
+
</xs:element>
|
201
|
+
<xs:element minOccurs="0" name="Authority_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
202
|
+
<xs:annotation>
|
203
|
+
<xs:documentation>The Authority_Key_Identifier field captures the identifier that provides a means of identifying the public key corresponding to the private key used to sign a certificate. Also equivalent to the object ID (OID) value of 2.5.29.35.</xs:documentation>
|
204
|
+
</xs:annotation>
|
205
|
+
</xs:element>
|
206
|
+
<xs:element minOccurs="0" name="Subject_Alternative_Name" type="cyboxCommon:StringObjectPropertyType">
|
207
|
+
<xs:annotation>
|
208
|
+
<xs:documentation>The Subject_Alternative_Name field captures the additional identities to be bound to the subject of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.17.</xs:documentation>
|
209
|
+
</xs:annotation>
|
210
|
+
</xs:element>
|
211
|
+
<xs:element minOccurs="0" name="Issuer_Alternative_Name" type="cyboxCommon:StringObjectPropertyType">
|
212
|
+
<xs:annotation>
|
213
|
+
<xs:documentation>The Issuer_Alternative_Name field captures the additional identities to be bound to the issuer of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.18.</xs:documentation>
|
214
|
+
</xs:annotation>
|
215
|
+
</xs:element>
|
216
|
+
<xs:element minOccurs="0" name="Subject_Directory_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
217
|
+
<xs:annotation>
|
218
|
+
<xs:documentation>The Subject_Directory_Attributes field captures the identification attributes (e.g., nationality) of the subject. Also equivalent to the object ID (OID) value of 2.5.29.9.</xs:documentation>
|
219
|
+
</xs:annotation>
|
220
|
+
</xs:element>
|
221
|
+
<xs:element minOccurs="0" name="CRL_Distribution_Points" type="cyboxCommon:StringObjectPropertyType">
|
222
|
+
<xs:annotation>
|
223
|
+
<xs:documentation>The CRL_Distribution_Points field captures how CRL information is obtained. Also equivalent to the object ID (OID) value of 2.5.29.31.</xs:documentation>
|
224
|
+
</xs:annotation>
|
225
|
+
</xs:element>
|
226
|
+
<xs:element minOccurs="0" name="Inhibit_Any_Policy" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
227
|
+
<xs:annotation>
|
228
|
+
<xs:documentation>The Inhibit_Any_Policy field the number of additional certificates that may appear in the path before anyPolicy is no longer permitted. Also equivalent to the object ID (OID) value of 2.5.29.54.</xs:documentation>
|
229
|
+
</xs:annotation>
|
230
|
+
</xs:element>
|
231
|
+
<xs:element minOccurs="0" name="Private_Key_Usage_Period" type="X509CertificateObj:ValidityType">
|
232
|
+
<xs:annotation>
|
233
|
+
<xs:documentation>The Private_Key_Usage_Period field captures the validity period for the private key, if it is different from the validity period of the certificate. Also equivalent to the object ID (OID) value of 2.5.29.16.</xs:documentation>
|
234
|
+
</xs:annotation>
|
235
|
+
</xs:element>
|
236
|
+
<xs:element minOccurs="0" name="Certificate_Policies" type="cyboxCommon:StringObjectPropertyType">
|
237
|
+
<xs:annotation>
|
238
|
+
<xs:documentation>The Certificate_Policies field captures a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. Also equivalent to the object ID (OID) value of 2.5.29.32.</xs:documentation>
|
239
|
+
</xs:annotation>
|
240
|
+
</xs:element>
|
241
|
+
<xs:element minOccurs="0" name="Policy_Mappings" type="cyboxCommon:StringObjectPropertyType">
|
242
|
+
<xs:annotation>
|
243
|
+
<xs:documentation>The Policy_Mappings field captures one or more pairs of OIDs; each pair includes an issuerDomainPolicy and a subjectDomainPolicy. The pairing indicates whether the issuing CA considers its issuerDomainPolicy equivalent to the subject CA's subjectDomainPolicy. Also equivalent to the object ID (OID) value of 2.5.29.33.</xs:documentation>
|
244
|
+
</xs:annotation>
|
245
|
+
</xs:element>
|
246
|
+
</xs:sequence>
|
247
|
+
</xs:complexType>
|
248
|
+
<xs:complexType name="X509NonStandardExtensionsType">
|
249
|
+
<xs:annotation>
|
250
|
+
<xs:documentation>The NonStandardX509ExtensionsType captures some non-standard or deprecated X509 extensions that may be useful. Based on the OpenSSL "Deprecated Extensions" documentation: https://www.openssl.org/docs/apps/x509v3_config.html#Deprecated_Extensions. Also based on the Alvestrand certificateExtension reference: http://www.alvestrand.no/objectid/2.5.29.html.</xs:documentation>
|
251
|
+
</xs:annotation>
|
252
|
+
<xs:sequence>
|
253
|
+
<xs:element minOccurs="0" name="Netscape_Comment" type="cyboxCommon:StringObjectPropertyType">
|
254
|
+
<xs:annotation>
|
255
|
+
<xs:documentation>The Netscape_Comment field captures a comment which may be displayed when the certificate is viewed in some browsers.</xs:documentation>
|
256
|
+
</xs:annotation>
|
257
|
+
</xs:element>
|
258
|
+
<xs:element minOccurs="0" name="Netscape_Certificate_Type" type="cyboxCommon:StringObjectPropertyType">
|
259
|
+
<xs:annotation>
|
260
|
+
<xs:documentation>The Netscape_Certificate_Type field captures a list of flags which indicate the purposes for which a certificate could be used.</xs:documentation>
|
261
|
+
</xs:annotation>
|
262
|
+
</xs:element>
|
263
|
+
<xs:element minOccurs="0" name="Old_Authority_Key_Identifier" type="cyboxCommon:StringObjectPropertyType">
|
264
|
+
<xs:annotation>
|
265
|
+
<xs:documentation>The Old_Authority_Key_Identifier captures the old version of the authority key identifier, equivalent to the object ID (OID) value of 2.5.29.1.</xs:documentation>
|
266
|
+
</xs:annotation>
|
267
|
+
</xs:element>
|
268
|
+
<xs:element minOccurs="0" name="Old_Primary_Key_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
269
|
+
<xs:annotation>
|
270
|
+
<xs:documentation>The Old_Primary_Key_Attributes field captures the old version of the primary key attributes, equivalent to the object ID (OID) value of 2.5.29.2.</xs:documentation>
|
271
|
+
</xs:annotation>
|
272
|
+
</xs:element>
|
273
|
+
</xs:sequence>
|
274
|
+
</xs:complexType>
|
275
|
+
</xs:schema>
|