IP*Works! Encrypt V9 - Online Help
IP*Works! Encrypt V9
Questions / Feedback?

XMLEncryptedDataDetail Type

This type defines details about the data to be encrypted.

Remarks

This type defines details about the data to be encrypted. The element to encrypt is defined by XMLElement.

Fields

Id
String

This field is an optional identifier for the encrypted data.

MIMEType
String

This field specifies the MIME type of the encrypted data. For example: "image/png". This field is optional.

Scope
int

This field specifies the scope of the encryption. When calling Encrypt the entire XML element specified by XMLElement may be encrypted, or only the content may be encrypted. This setting controls the scope of the encryption. Possible values are:

0 (sElement - default) The entire XML element is encrypted.
1 (sContent) Only the content of the XML element is encrypted.

XMLElement
String

This field specifies the XPath to the element which will be encrypted. For instance:

/root/myElement XPath syntax
/root/[1] XPath syntax using an index
/root/ns:myElement XPath syntax where the element has a namespace
myElement Just the element name
@id=myid Attribute selector: This will select an element with an attribute "id" whose value is "myid".
/root/myElement[1]/ns:name2[@attr=attrValue] XPath syntax using an index and attribute selector

Constructors

public XMLEncryptedDataDetail();



public XMLEncryptedDataDetail(String id, String XMLElement, int scope, String MIMEType);



 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0