MacroSecurityProcessorRefreshSecurityParameters Method (String, String, String, Boolean) |
Recreates all the macros signatures according to new specified salt.
Keeps the owners of the macros untouched (verifies the integrity against old salt).
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax public static string RefreshSecurityParameters(
string text,
string oldSalt,
string newSalt,
bool decodeBeforeSign = false
)
Parameters
- text
- Type: SystemString
Text containing macros - oldSalt
- Type: SystemString
Old salt used to generate old signatures (to verify integrity of old macros); if null, the integrity is not checked - newSalt
- Type: SystemString
New salt which should be used to generate new signatures - decodeBeforeSign (Optional)
- Type: SystemBoolean
If true, expression is decoded before the security params are computed
Return Value
Type:
StringSee Also