blob: 050b5679ae523331e5dadebfe3d126a3fe33ac6a [file] [log] [blame]
/*
* Copyright 2003-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* XSEC
*
* XENCEncryptedData := Definition for holder object for EncryptedData
* element
*
* $Id$
*
*/
#ifndef XENCENCRYPTEDDATA_INCLUDE
#define XENCENCRYPTEDDATA_INCLUDE
// XSEC Includes
#include <xsec/framework/XSECDefs.hpp>
#include <xsec/xenc/XENCEncryptedType.hpp>
#include <xsec/xenc/XENCCipherData.hpp>
/**
* @ingroup xenc
*/
/**
* @brief Interface definition for the EncryptedData object
*
* The \<EncryptedData\> element is an abstract type which builds
* on the EncryptedType element for encrypted data (as opposed to
* encrypted keys).
*
* In general, this class should not be used directly. For most
* applications, callers will want to use the XENCCipher class
* instead.
*
* The schema for EncryptedData is as follows:
*
* \verbatim
<element name='EncryptedData' type='xenc:EncryptedDataType'/>
<complexType name='EncryptedDataType'>
<complexContent>
<extension base='xenc:EncryptedType'>
</extension>
</complexContent>
</complexType>
\endverbatim
*/
class XENCEncryptedData : public XENCEncryptedType {
/** @name Constructors and Destructors */
//@{
protected:
XENCEncryptedData() {};
public:
virtual ~XENCEncryptedData() {};
/** @name Get Interface Methods */
//@{
//@}
private:
// Unimplemented
XENCEncryptedData(const XENCEncryptedData &);
XENCEncryptedData & operator = (const XENCEncryptedData &);
};
#endif /* XENCENCRYPTEDDATA_INCLUDE */