checkPassword

checkPassword(String password) function

Checks whether a password is correct for a presentation protected with open password.

Parameters

NameTypeDescription
passwordStringThe password to check. When the password is null or empty, this function returns false.

Result

boolean

Error

ErrorCondition
NotSupportedExceptionif format is not supported to check passwords.