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

There are still all sorts of token and seed and certificates, but
that's what parameters are for

I think we should not try to be too clever

If afterwards we see some possible rationnalisation, then we would be
able to add optionals options to the signature in V.next

Mohamed

On Fri, Aug 22, 2008 at 3:35 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> "Innovimax SARL" <innovimax@gmail.com> writes:
>
>> 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
>
> Is that all you need to do encryption? Everytime I've tried to
> understand XMLDSig kits there's been all sorts of stuff about tokens
> and certificates that I've never been able to get my head around.
>
>> <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
>
> Again, is there enough information here to do the job?
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | First time surrealists are often
> http://nwalsh.com/            | confused by the similarities between
>                              | fish and telephones.
>



-- 
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 Friday, 22 August 2008 14:06:06 UTC