1 <?xml version="1.0" encoding="utf-8"?>
5 # Copyright ©[2011] World Wide Web Consortium
6 # (Massachusetts Institute of Technology,
7 # European Research Consortium for Informatics and Mathematics,
8 # Keio University). All Rights Reserved.
9 # This work is distributed under the W3C® Software License [1] in the
10 # hope that it will be useful, but WITHOUT ANY WARRANTY; without even
11 # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 # [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
17 <schema xmlns='http://www.w3.org/2001/XMLSchema' version='1.0'
18 xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'
19 xmlns:xenc11='http://www.w3.org/2009/xmlenc11#'
20 xmlns:ds='http://www.w3.org/2000/09/xmldsig#'
21 targetNamespace='http://www.w3.org/2009/xmlenc11#'
22 elementFormDefault='qualified'>
24 <import namespace='http://www.w3.org/2000/09/xmldsig#' schemaLocation='xmldsig-core-schema.xsd'/>
25 <import namespace='http://www.w3.org/2001/04/xmlenc#' schemaLocation='xenc-schema.xsd'/>
27 <element name="ConcatKDFParams" type="xenc11:ConcatKDFParamsType"/>
28 <complexType name="ConcatKDFParamsType">
30 <element ref="ds:DigestMethod"/>
32 <attribute name="AlgorithmID" type="hexBinary"/>
33 <attribute name="PartyUInfo" type="hexBinary"/>
34 <attribute name="PartyVInfo" type="hexBinary"/>
35 <attribute name="SuppPubInfo" type="hexBinary"/>
36 <attribute name="SuppPrivInfo" type="hexBinary"/>
39 <element name="DerivedKey" type="xenc11:DerivedKeyType"/>
40 <complexType name="DerivedKeyType">
42 <element ref="xenc11:KeyDerivationMethod" minOccurs="0"/>
43 <element ref="xenc:ReferenceList" minOccurs="0"/>
44 <element name="DerivedKeyName" type="string" minOccurs="0"/>
45 <element name="MasterKeyName" type="string" minOccurs="0"/>
47 <attribute name="Recipient" type="string" use="optional"/>
48 <attribute name="Id" type="ID" use="optional"/>
49 <attribute name="Type" type="anyURI" use="optional"/>
52 <element name="KeyDerivationMethod" type="xenc11:KeyDerivationMethodType"/>
53 <complexType name="KeyDerivationMethodType">
55 <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
57 <attribute name="Algorithm" type="anyURI" use="required"/>
60 <element name="PBKDF2-params" type="xenc11:PBKDF2ParameterType"/>
62 <complexType name="AlgorithmIdentifierType">
64 <element name="Parameters" type="anyType" minOccurs="0"/>
66 <attribute name="Algorithm" type="anyURI" use="required" />
69 <complexType name="PRFAlgorithmIdentifierType">
71 <restriction base="xenc11:AlgorithmIdentifierType">
72 <attribute name="Algorithm" type="anyURI" use="required" />
77 <complexType name="PBKDF2ParameterType">
82 <element name="Specified" type="base64Binary"/>
83 <element name="OtherSource" type="xenc11:AlgorithmIdentifierType"/>
87 <element name="IterationCount" type="positiveInteger"/>
88 <element name="KeyLength" type="positiveInteger"/>
89 <element name="PRF" type="xenc11:PRFAlgorithmIdentifierType"/>
93 <element name="MGF" type="xenc11:MGFType"/>
94 <complexType name="MGFType">
96 <restriction base="xenc11:AlgorithmIdentifierType">
97 <attribute name="Algorithm" type="anyURI" use="required" />