Public Member Functions | ||||
Password (byte[] salt, byte[] hash) | ||||
Inits object using password correction and password hash. | ||||
Password (string salt, string hash) | ||||
| ||||
Password (char[] clearText) | ||||
Password () | ||||
Empty constructor, generates random password (but we'll never know what ;). | ||||
void | ResetPassword (char[] clearText) | |||
Reinitializes password class object using plain password as an argument. | ||||
bool | Verify (char[] clearText) | |||
Checks whether given plain text password matches to password correction and hash stored in the object. | ||||
Static Public Member Functions | ||||
static char[] | Generate () | |||
| ||||
static void | RegisterFunction (Type t) | |||
COM interop registering function. | ||||
static void | UnregisterFunction (Type t) | |||
COM interop unregistering function. | ||||
Properties | ||||
string | Salt [get] | |||
byte[] | RawSalt [get] | |||
string | Hash [get] | |||
byte[] | RawHash [get] |
Rsdn.Password.Password | ( | byte[] | salt, | |
byte[] | hash | |||
) |
Rsdn.Password.Password | ( | string | salt, | |
string | hash | |||
) |
hash | Base64-encoded password hash |
salt | Base64-encoded password correction |
Rsdn.Password.Password | ( | char[] | clearText | ) |
clearText | Plain text password (not crypted) |
Rsdn.Password.Password | ( | ) |
Empty constructor, generates random password (but we'll never know what ;).
void Rsdn.Password.ResetPassword | ( | char[] | clearText | ) |
Reinitializes password class object using plain password as an argument.
clearText | Palin text password |
bool Rsdn.Password.Verify | ( | char[] | clearText | ) |
Checks whether given plain text password matches to password correction and hash stored in the object.
clearText | Plain text password |
static char [] Rsdn.Password.Generate | ( | ) | [static] |
static void Rsdn.Password.RegisterFunction | ( | Type | t | ) | [static] |
COM interop registering function.
t |
static void Rsdn.Password.UnregisterFunction | ( | Type | t | ) | [static] |
COM interop unregistering function.
t |
string Rsdn.Password.Salt [get] |
Returns password correction as a base64-encoded string
byte [] Rsdn.Password.RawSalt [get] |
Returns password correction as a byte array
string Rsdn.Password.Hash [get] |
Returns password hash as a base64-encoded string
byte [] Rsdn.Password.RawHash [get] |
Returns password hash as a byte array