Class ProtectionSettings
Configures document protection mode, enforcement, and password hashing parameters for restricting editing permissions.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Protection
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class ProtectionSettings
Properties
AlgorithmName
Gets or sets the hash algorithm identifier for password verification. Use predefined values from ProtectionAlgorithmNames.
Declaration
public string AlgorithmName { get; set; }
Property Value
|
System.String
The name of the algorithm. The protection algorithm. |
Enforced
Gets or sets whether protection restrictions are actively enforced, requiring password verification to disable.
Declaration
public bool Enforced { get; set; }
Property Value
|
System.Boolean
The enforced. |
Hash
Gets or sets the computed hash of the protection password combined with salt and spin iterations for verification.
Declaration
public string Hash { get; set; }
Property Value
|
System.String
The hash. |
ProtectionMode
Gets or sets the level of editing restrictions applied when protection is enforced.
Declaration
public ProtectionMode ProtectionMode { get; set; }
Property Value
|
ProtectionMode
The protection mode. |
Salt
Gets or sets the randomly generated salt value used in password hash computation to prevent rainbow table attacks.
Declaration
public string Salt { get; set; }
Property Value
|
System.String
The salt. |
SpinCount
Gets or sets the number of hash iterations applied during password verification to increase computational cost against brute-force attacks.
Declaration
public int SpinCount { get; set; }
Property Value
|
System.Int32
The spin count. |