|
security.sign-namespace
|
| |
|
description
Generates a signature to allow user changing for a document.
The signature only concerns a single namespace in the specified file.
privilege-required
user
tx-support
false
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| uri |
string |
none |
true |
The uri of the file to be signed. |
| namespace-prefix |
string |
none |
true |
The prefix of the namespace to be signed. |
| login |
string |
none |
true |
The login of the user used to sign the namespace. |
| domain-id |
integer |
none |
false |
Domain id. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Invalid domain id. |
| 2 |
Unknown user login. |
| 3 |
You must be logged in to generate a signature. |
|
| |
|
RESULT
|
|
|
name
|
description
|
| signature |
The generated signature. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
Sign prefix nvd of file.xml for user login bobby.
<nvd:command name="security.sign-namespace" uri="file.xml" namespace-prefix="nvd" login="bobby">
<nvd:result name="signature" variable="sig"/>
</nvd:command>
|
|