#include <XENCCipherData.hpp>
The <CipherData> element either holds the encrypted data (via a CipherValue element) or a reference to the encrypted data.
Within the library, the CipherData element can only be used to hold and read the encrypted data. To actually decrypt/encrypt data, an XENCEncryptedType derivative object of XENCCipher object should be used.
The schema for CipherData is as follows:
<element name='CipherData' type='xenc:CipherDataType'/> <complexType name='CipherDataType'> <choice> <element name='CipherValue' type='base64Binary'/> <element ref='xenc:CipherReference'/> </choice> </complexType>
Constructors and Destructors | |
virtual | ~XENCCipherData () |
XENCCipherData () | |
Public Types | |
enum | XENCCipherDataType { NO_TYPE = 0, VALUE_TYPE = 1, REFERENCE_TYPE = 2 } |
Public Member Functions | |
Get Interface Methods | |
virtual XENCCipherDataType | getCipherDataType (void)=0 |
Find the type of Cipher Data held. | |
virtual XENCCipherValue * | getCipherValue (void)=0 |
Get the CipherValue element. | |
virtual XENCCipherReference * | getCipherReference (void)=0 |
Get the CipherReference element. | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | getElement (void)=0 |
Get the DOM Node of this structure. |
|
CipherDataType |
|
|
|
|
|
Find the type of Cipher Data held. CipherData elements can hold either a CipherValue element (whose text is the encrypted data) or a CipherReference element, where the contents tell the library how to retrieve the encrypted data from elsewhere.
|
|
Get the CipherReference element.
|
|
Get the CipherValue element.
|
|
Get the DOM Node of this structure.
|