CBFS Vault 2020 Python Edition

Questions / Feedback?

check_file_password Method

Verifies whether a particular file password is correct.


def check_file_password(file_name: str, password: str) -> bool: ...


This method verifies whether the specified Password matches the one used to encrypt the file or alternate stream specified by FileName. If the password is correct, this method returns True; otherwise it returns False.

The value passed for FileName must be a vault-local absolute path.

Please refer to the Encryption topic for more information.

Note: This method can only be called when active is True.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 Python Edition - Version 20.0 [Build 7982]