Click or drag to resize
MacroSecurityProcessorAddSecurityParameters Method
Adds security parameters to every macro.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
public static string AddSecurityParameters(
	string text,
	MacroIdentityOption identityOption,
	IDictionary<string, MacroIdentityOption> signatures,
	bool decodeBeforeSign = false,
	string saltToUse = null
)

Parameters

text
Type: SystemString
Text with macros
identityOption
Type: CMS.MacroEngineMacroIdentityOption
Identity option to sign with
signatures
Type: System.Collections.GenericIDictionaryString, MacroIdentityOption
Dictionary with old identity options indexed by expression
decodeBeforeSign (Optional)
Type: SystemBoolean
If true, expression is decoded before the security params are computed
saltToUse (Optional)
Type: SystemString
Salt to use for hash function

Return Value

Type: String
See Also