-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSecurity.xsd
116 lines (101 loc) · 4.47 KB
/
Security.xsd
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.digitalpy.com/security"
xmlns="http://www.digitalpy.com/security"
elementFormDefault="qualified">
<!-- Root element -->
<xs:element name="SecurityComponent">
<xs:complexType>
<xs:sequence>
<xs:element name="CredentialManagement" type="CredentialManagementType"/>
<xs:element name="CertificationManagement" type="CertificationManagementType"/>
<xs:element name="TokenManagement" type="TokenManagementType"/>
<xs:element name="PasswordManagement" type="PasswordManagementType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- Credential Management Type -->
<xs:complexType name="CredentialManagementType">
<xs:sequence>
<xs:element name="Creation" type="CredentialCreationType"/>
<xs:element name="Storage" type="CredentialStorageType"/>
<xs:element name="Disposal" type="CredentialDisposalType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CredentialCreationType">
<xs:sequence>
<xs:element name="Method" type="xs:string"/>
<xs:element name="Type" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CredentialStorageType">
<xs:sequence>
<xs:element name="EncryptionMethod" type="xs:string"/>
<xs:element name="SecurityMeasures" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CredentialDisposalType">
<xs:sequence>
<xs:element name="DisposalMethod" type="xs:string"/>
<xs:element name="BestPractices" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<!-- Certification Management Type -->
<xs:complexType name="CertificationManagementType">
<xs:sequence>
<xs:element name="CertificateAuthorityIntegration" type="CertificateAuthorityIntegrationType"/>
<xs:element name="CertificateLifecycleManagement" type="CertificateLifecycleManagementType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CertificateAuthorityIntegrationType">
<xs:sequence>
<xs:element name="IntegrationDetails" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CertificateLifecycleManagementType">
<xs:sequence>
<xs:element name="Issuance" type="xs:string"/>
<xs:element name="Renewal" type="xs:string"/>
<xs:element name="Revocation" type="xs:string"/>
<xs:element name="Expiration" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<!-- Token Management Type -->
<xs:complexType name="TokenManagementType">
<xs:sequence>
<xs:element name="TokenGenerationAndValidation" type="TokenGenerationAndValidationType"/>
<xs:element name="TokenExpiryAndRenewal" type="TokenExpiryAndRenewalType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TokenGenerationAndValidationType">
<xs:sequence>
<xs:element name="GenerationMethod" type="xs:string"/>
<xs:element name="ValidationMethod" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TokenExpiryAndRenewalType">
<xs:sequence>
<xs:element name="ExpiryTime" type="xs:duration"/>
<xs:element name="RenewalMethod" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<!-- Password Management Type -->
<xs:complexType name="PasswordManagementType">
<xs:sequence>
<xs:element name="SecurePasswordHandling" type="SecurePasswordHandlingType"/>
<xs:element name="PasswordPolicyEnforcement" type="PasswordPolicyEnforcementType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SecurePasswordHandlingType">
<xs:sequence>
<xs:element name="HashingMethod" type="xs:string"/>
<xs:element name="SaltingMethod" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PasswordPolicyEnforcementType">
<xs:sequence>
<xs:element name="ComplexityRequirements" type="xs:string"/>
<xs:element name="ChangeFrequency" type="xs:duration"/>
</xs:sequence>
</xs:complexType>
</xs:schema>