|
NanoXLSX.Core 3.0.0-rc.5
|
Interface, used by specific writers that provides password handling. More...
Public Member Functions | |
| void | Init (PasswordType type, string passwordHash) |
| Method to initialize the password writer. | |
| IEnumerable< XmlAttribute > | GetAttributes () |
| Gets an IEnumerable of XML attributes. | |
| Public Member Functions inherited from NanoXLSX.Interfaces.IPassword | |
| void | SetPassword (string plainText) |
| Sets the plain text password. | |
| void | UnsetPassword () |
| Unsets a previously defined password. | |
| string | GetPassword () |
| Gets the password as plain text. | |
| bool | PasswordIsSet () |
| Gets whether a password was set or not. | |
| void | CopyFrom (IPassword passwordInstance) |
| Method to copy a password instance from another one. | |
Properties | |
| PasswordType | Type [get] |
| Gets the target type of the password. | |
| Properties inherited from NanoXLSX.Interfaces.IPassword | |
| string | PasswordHash [get, set] |
| Gets or sets the password hash. | |
Interface, used by specific writers that provides password handling.
Definition at line 18 of file IPasswordWriter.cs.
| IEnumerable< XmlAttribute > NanoXLSX.Interfaces.Writer.IPasswordWriter.GetAttributes | ( | ) |
Gets an IEnumerable of XML attributes.
| void NanoXLSX.Interfaces.Writer.IPasswordWriter.Init | ( | PasswordType | type, |
| string | passwordHash ) |
Method to initialize the password writer.
| type | Target type of the password writer |
| passwordHash | Hash that will be written |
|
get |
Gets the target type of the password.
Definition at line 24 of file IPasswordWriter.cs.