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