Class
ProtectionSettings

Configures document protection mode, enforcement, and password hashing parameters for restricting editing permissions.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Protection

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class ProtectionSettings

Inheritance: objectProtectionSettings

Properties

AlgorithmName

Gets or sets the hash algorithm identifier for password verification. Use predefined values from ProtectionAlgorithmNames.

Declaration

cs-api-definition
public string AlgorithmName { get; set; }

Property Value

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

cs-api-definition
public bool Enforced { get; set; }

Property Value

bool

The enforced.

Hash

Gets or sets the computed hash of the protection password combined with salt and spin iterations for verification.

Declaration

cs-api-definition
public string Hash { get; set; }

Property Value

string

The hash.

ProtectionMode

Gets or sets the level of editing restrictions applied when protection is enforced.

Declaration

cs-api-definition
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

cs-api-definition
public string Salt { get; set; }

Property Value

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

cs-api-definition
public int SpinCount { get; set; }

Property Value

int

The spin count.