Purpose of PEM password.
enum password_purpose
The password is needed for reading/decryption.
The password is needed for writing/encryption.