Changes

Jump to navigation Jump to search
98 bytes added ,  13:04, 9 March 2023
no edit summary
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|crypto:hmac|$data as xs:anyAtomicType, $key as xs:anyAtomicType, $algorithm as xs:string|xs:string}}<br/pre>{{Func|crypto:hmac|( $data as xs:anyAtomicType, $key as xs:anyAtomicType, $algorithm as xs:string, $encoding as xs:string| := ()) as xs:string}}</pre>
|- valign="top"
| '''Summary'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|<pre>crypto:encrypt|( $data as xs:anyAtomicType, $type as xs:string, $key as xs:anyAtomicType, $algorithm as xs:string|) as xs:base64Binary}}</pre>
|- valign="top"
| '''Summary'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|<pre>crypto:decrypt|( $data as xs:anyAtomicType, $type as xs:string, $key as xs:anyAtomicType, $algorithm as xs:string|) as xs:string}}</pre>
|- valign="top"
| '''Summary'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|<pre>crypto:generate-signature|( $input as node(), $canonicalization as xs:string, $digest as xs:string, $signature as xs:string, $prefix as xs:string, $type as xs:string|) as node()}}<br/pre>{{Func|crypto:generate-signature|$input as node(), $canonicalization as xs:string, $digest as xs:string, $signature as xs:string, $prefix as xs:string, $type as xs:string, $xpath ext1 as xs:string, $certificate as nodeitem()|node()}}<br/>{{Func|crypto:generate-signature|$input as node(), $canonicalization as xs:string, $digest as xs:string, $signature as xs:string, $prefix as xs:string, $type as xs:string, $ext ext1 as item(), $ext2 as node()|node()}}
|- valign="top"
| '''Summary'''
{{Code|$prefix}} may be empty and prefixes the {{Code|Signature}} element accordingly.<br/>
{{Code|$type}} is the signature type. It must either be {{Code|enveloped}} or {{Code|enveloping}} (detached signatures are not supported so far). '''Default is {{Code|enveloped}}'''.<br/>
{{Code|$ext1}} may either be an {{Code|$xpath}} is an arbitrary XPath expression which specifies or a subset of the document that is to be signed.<br/>{{Code|$certificate}} is the digitial certificate used to sign the input document.<br/>If {{Code|$extext2}} may either be an is specified as well, {{Code|$xpathext1}} is an arbitrary XPath expression or which specifies a subset of the document that is to be signed, and {{Code|$certificateext2}}is the digitial certificate used to sign the input document.<br/>
|- valign="top"
| '''Errors'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|<pre>crypto:validate-signature|( $input-doc as node()|) as xs:boolean}}</pre>
|- valign="top"
| '''Summary'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu