Click or drag to resize
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.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax
C#
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: String
See Also