[]
Represents a password used to protect a document.
public class Password
Public Class Password
Name | Description |
---|---|
KnownHashes | Gets the list of known hash algorithms. |
Name | Description |
---|---|
HashType | Gets the hash algorithm used to encrypt the password. |
SpinCount | Gets the number of times the hashing function shall be iteratively run. |
Name | Description |
---|---|
ResetPassword() | Resets the current password. |
SetPassword(string, CryptographicAlgorithmSid, int) | Sets the current password. If password is null or empty, password will be reset. |
ValidatePassword(string) | Compares the current password to a specified value. |