#include <XENCCipherReference.hpp>
The <CipherReference> element provides the information necessary for an application to find the data being referenced. Like a Reference in XML-DSIG, the CipherReference starts with a URI that provides the base location of the data in question.
A list of transforms may then be provided, which the library will apply to the data found at the provided URI. It is expected that the result of these transforms will be the raw encrypted octets,
The schema for CipherReference is as follows:
<element name='CipherReference' type='xenc:CipherReferenceType'/> <complexType name='CipherReferenceType'> <sequence> <element name='Transforms' type='xenc:TransformsType' minOccurs='0'/> </sequence> <attribute name='URI' type='anyURI' use='required'/> </complexType> <complexType name='TransformsType'> <sequence> <element ref='ds:Transform' maxOccurs='unbounded'/> </sequence> </complexType>
Constructors and Destructors | |
virtual | ~XENCCipherReference () |
XENCCipherReference () | |
Public Member Functions | |
Get Interface Methods | |
virtual DSIGTransformList * | getTransforms (void) const =0 |
Obtain the transforms for this CipherReference. | |
virtual const XMLCh * | getURI (void) const =0 |
Obtain the URI for this CipherReference. | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | getElement (void) const =0 |
Get the DOM Node of this structure. | |
Set Interface Methods | |
virtual DSIGTransformBase64 * | appendBase64Transform ()=0 |
Append a Base64 Transform to the Reference. | |
virtual DSIGTransformXPath * | appendXPathTransform (const char *expr)=0 |
Append an XPath Transform to the Reference. | |
virtual DSIGTransformXPathFilter * | appendXPathFilterTransform (void)=0 |
Append an XPath-Filter2 Transform to the Reference. | |
virtual DSIGTransformXSL * | appendXSLTransform (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *stylesheet)=0 |
Append an XSLT Transform to the Reference. | |
virtual DSIGTransformC14n * | appendCanonicalizationTransform (canonicalizationMethod cm)=0 |
Append a Canonicalization Transform to the Reference. |
|
|
|
|
|
Append a Base64 Transform to the Reference.
|
|
Append a Canonicalization Transform to the Reference.
|
|
Append an XPath-Filter2 Transform to the Reference. The returned DSIGTransformXPathFilter will have no actual filter expressions loaded, but calls can be made to DSIGTransformXPathFilter::appendTransform to add them.
|
|
Append an XPath Transform to the Reference. Append an XPath transform. Namespaces can be added to the transform directly using the returned DSIGTransformXPath structure
|
|
Append an XSLT Transform to the Reference. The caller must have already create the stylesheet and turned it into a DOM structure that is passed in as the stylesheet parameter.
|
|
Get the DOM Node of this structure.
|
|
Obtain the transforms for this CipherReference. Get the DSIGTransformList object for this CipherReference. Can be used to obtain information about the transforms and also change the the transforms |
|
Obtain the URI for this CipherReference.
|