xref: /titanic_41/usr/src/cmd/cmd-crypto/kmfcfg/kmfpolicy.dtd (revision 5203bc321053fb87d7073c7640548fab73634793)
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!--
4 Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
5
6 CDDL HEADER START
7
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
11
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
16
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
22
23 CDDL HEADER END
24-->
25
26<!--Element Definitions-->
27
28<!ELEMENT kmf-policy-db (kmf-policy*)>
29<!ATTLIST kmf-policy-db allow-local-files (TRUE|FALSE) #IMPLIED>
30
31<!ELEMENT kmf-policy (validation-methods, key-usage-set?,  ext-key-usage?, cert-to-name-mapping?)>
32<!ATTLIST kmf-policy name CDATA #REQUIRED>
33<!ATTLIST kmf-policy ignore-date (TRUE|FALSE) #IMPLIED>
34<!ATTLIST kmf-policy ignore-unknown-eku (TRUE|FALSE) #IMPLIED>
35<!ATTLIST kmf-policy ignore-trust-anchor (TRUE|FALSE) #IMPLIED>
36<!ATTLIST kmf-policy validity-adjusttime CDATA #IMPLIED>
37<!ATTLIST kmf-policy ta-name CDATA #IMPLIED>
38<!ATTLIST kmf-policy ta-serial CDATA #IMPLIED>
39
40<!ELEMENT validation-methods (ocsp?, crl?)>
41<!ELEMENT ocsp (ocsp-basic, responder-cert?)>
42
43<!ELEMENT ocsp-basic EMPTY>
44<!ATTLIST ocsp-basic
45        responder CDATA #IMPLIED
46        proxy CDATA #IMPLIED
47        uri-from-cert (TRUE|FALSE) #IMPLIED
48        response-lifetime CDATA #IMPLIED
49        ignore-response-sign (TRUE|FALSE) #IMPLIED
50>
51
52<!ELEMENT responder-cert EMPTY>
53<!ATTLIST responder-cert
54        name CDATA #REQUIRED
55        serial CDATA #REQUIRED
56>
57
58<!ELEMENT crl EMPTY>
59<!ATTLIST crl basefilename CDATA #IMPLIED>
60<!ATTLIST crl directory CDATA #IMPLIED>
61<!ATTLIST crl get-crl-uri (TRUE|FALSE) #IMPLIED>
62<!ATTLIST crl proxy CDATA #IMPLIED>
63<!ATTLIST crl ignore-crl-sign (TRUE|FALSE) #IMPLIED>
64<!ATTLIST crl ignore-crl-date (TRUE|FALSE) #IMPLIED>
65
66<!ELEMENT key-usage-set (key-usage+)>
67
68<!ELEMENT key-usage EMPTY>
69<!ATTLIST key-usage use (digitalSignature | nonRepudiation |
70        keyEncipherment | dataEncipherment | keyAgreement |
71        keyCertSign | cRLSign | encipherOnly | decipherOnly) #IMPLIED>
72
73<!ELEMENT ext-key-usage (eku-name*, eku-oid*)>
74
75<!ELEMENT eku-name EMPTY>
76<!ATTLIST eku-name name (serverAuth | clientAuth |
77		codeSigning | emailProtection |
78		ipsecEndSystem | ipsecTunnel | ipsecUser |
79		timeStamping | OCSPSigning) #IMPLIED >
80<!ELEMENT eku-oid EMPTY>
81<!ATTLIST eku-oid oid CDATA #IMPLIED>
82
83<!ELEMENT cert-to-name-mapping ANY>
84<!ATTLIST cert-to-name-mapping mapper-name CDATA #IMPLIED>
85<!ATTLIST cert-to-name-mapping mapper-directory CDATA #IMPLIED>
86<!ATTLIST cert-to-name-mapping mapper-pathname CDATA #IMPLIED>
87<!ATTLIST cert-to-name-mapping mapper-options CDATA #IMPLIED>
88