PasswordEncryption
Password encryption algorithm enumeration.
| Full name | MFiles.PasswordEncryption |
|---|---|
| Proto file | mfiles/enums.proto |
Values
| Name | Number | Description |
|---|---|---|
PASSWORD_ENCRYPTION_RC4 | 0 | RC4-encrypted. |
PASSWORD_ENCRYPTION_UNENCRYPTED | 1 | Not encrypted. |
PASSWORD_ENCRYPTION_AES256 | 2 | AES-encrypted with 256-bit key. |
Used by methods
- IRPCLogin.ChangePassword -- Changes the M-Files password of the logged-in account.
- IRPCLogin.GetPublicKey -- Gets the server's RSA public key, for encrypting secrets that a client sends to the server.
- IRPCLogin.GetPublicKeyAnonymous -- Gets the server's RSA public key without a session, for encrypting authentication data before login.
- IRPCLoginsAdmin.GetPasswordHash -- Gets the encrypted password hash of an M-Files login, for copying the password to another server with SetPasswordHash.
- IRPCLoginsAdmin.ResetPassword -- Completes the "forgot password" flow: sets a new password for a login with the values from the password reset link.
- IRPCVaultLoginsAdmin.GetVaultLoginPasswordHash -- Reads the password hash of a vault login, encrypted with a public key that the caller supplies.
- IRPCVaultLoginsAdmin.ResetVaultLoginPassword -- Sets a new password for a vault login, authorized by a password reset link.
Used in fields
PasswordInfo.encryption-- Encryption algorithm used to protect the password hash.ChangePasswordRequest.password_encryption-- How the passwords are encrypted in transit.GetPublicKeyRequest.password_encryption-- Encryption for which the key is requested.GetPublicKeyAnonymousRequest.password_encryption-- Encryption for which the key is requested.GetPasswordHashRequest.password_encryption-- How to encrypt the hash for transit: setPASSWORD_ENCRYPTION_AES256.ResetPasswordRequest.password_encryption-- Encryption used for the passwords in transit.GetVaultLoginPasswordHashRequest.password_encryption-- How the hash is encrypted for transit. Must not bePASSWORD_ENCRYPTION_UNENCRYPTED.ResetVaultLoginPasswordRequest.password_encryption-- Hownew_password_hashis encrypted. Must not bePASSWORD_ENCRYPTION_UNENCRYPTED.