|
security.decrypt-string
|
| |
|
description
Decrypts some encrypted text.
privilege-required
anyone
tx-support
false
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| alias |
string |
none |
true |
The alias of the key that will be used for decryption. |
| store |
string |
none |
true |
The name of the store the keys will be stored in. Depends on the server configuration. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| data |
string |
none |
true |
The text that will be decrypted. It must be encoded as base 64. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Store does not exist. |
| 2 |
Alias doesn't exist in this store. |
|
| |
|
RESULT
|
|
|
name
|
description
|
| decrypted-data |
The decrypted data. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="security.decrypt-string" alias="privateKeyAlias" store="thestore">
<nvd:parameter name="data">some text to be encoded</nvd:parameter>
<nvd:result name="decrypted-data" variable="myVar"/>
</nvd:command>
|
|