W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2008

Re: add p:encrypt and p:decrypt optional step

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 21 Aug 2008 21:11:23 +0200
Message-ID: <546c6c1c0808211211u1dfc288fuc47848eece2f1d8e@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

I didn't have answer on this one, indeed

On Sat, May 3, 2008 at 3:46 PM, Innovimax SARL <innovimax@gmail.com> wrote:
> Ok let's try
>
> We could say that we have
>
> <p:declare-step type="p:encrypt">
>    <p:input port="source" primary="true"/>
>    <p:output port="result"/>
>    <p:input port="parameters" kind="parameter"/>
>    <p:option name="match" required="true"/> <!-- XSLTMatchPattern -->
>   <p:option name="granularity" required="true"/><!-- 'content' or 'element'
> -->
> </p:declare-step>
>
> match option would say which elements you want to encrypt and granularity
> option would say if you encrypt the matched element or its content
>
> <p:declare-step type="p:decrypt">
>    <p:input port="source" primary="true"/>
>    <p:output port="result"/>
>    <p:input port="parameters" kind="parameter"/>
>    <p:option name="match" required="true"/> <!-- XSLTMatchPattern -->
> </p:declare-step>
>
> match would match perticular node
> {http://www.w3.org/2001/04/xmlenc#}EncryptedData (if we stick to XML
> Encryption spec, but we don't need to) and would decrypt them
>
> Mohamed
>
> --
> Innovimax SARL
> Consulting, Training & XML Development
> 9, impasse des Orteaux
> 75020 Paris
> Tel : +33 9 52 475787
> Fax : +33 1 4356 1746
> http://www.innovimax.fr
> RCS Paris 488.018.631
> SARL au capital de 10.000 



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 21 August 2008 19:11:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 August 2008 19:12:00 GMT