<?xml version="1.0" encoding="utf-8"?>

<!--
# Copyright ©[2011] World Wide Web Consortium
# (Massachusetts Institute of Technology,
#  European Research Consortium for Informatics and Mathematics,
#  Keio University). All Rights Reserved.
# This work is distributed under the W3C® Software License [1] in the
# hope that it will be useful, but WITHOUT ANY WARRANTY; without even
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.
# [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
#
-->

<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:ghc="http://www.w3.org/2010/xmlsec-ghc#"
        xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
        xmlns:xenc11="http://www.w3.org/2009/xmlenc11#"
        targetNamespace="http://www.w3.org/2009/xmlsec-gh#"
        version="0.1" elementFormDefault="qualified">

<!-- $Revision: 1.1 $-->

<element name="GenericHybridCipherMethod"
 type="ghc:GenericHybridCipherMethodType"/> 
<complexType name="GenericHybridCipherMethodType">
  <sequence>
    <element name="KeyEncapsulationMethod"
     type="ghc:KeyEncapsulationMethodType"/> 
    <element name="DataEncapsulationMethod"
     type="xenc:EncryptionMethodType"/> 
  </sequence>
</complexType>

<complexType name="KeyEncapsulationMethodType">
  <sequence>
    <element ref="xenc11:KeyDerivationMethod"/>
    <element name="KeyLen" type="positiveInteger"/>
    <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>

</schema>

