passphrase Property
Specifies a message decryption password.
Syntax
def get_passphrase() -> str: ... def set_passphrase(value: str) -> None: ...
passphrase = property(get_passphrase, set_passphrase)
Default Value
""
Remarks
Use this property to provide a password to decrypt the data. Whether the message can be decrypted with a password is indicated by PassphraseUsed parameter of on_encryption_info event.
Note that this is not the same as a secret key passphrase, which should be provided via key_passphrase property.
If this property is left empty or the assigned passphrase is incorrect, the on_passphrase_needed event will be fired to request the correct one.