LibreOffice Module comphelper (master) 1
|
Base class for a password verifier used by the DocPasswordHelper class below. More...
#include <docpasswordhelper.hxx>
Public Member Functions | |
virtual | ~IDocPasswordVerifier () |
virtual DocPasswordVerifierResult | verifyPassword (const OUString &rPassword, css::uno::Sequence< css::beans::NamedValue > &o_rEncryptionData)=0 |
Will be called every time a password needs to be verified. More... | |
virtual DocPasswordVerifierResult | verifyEncryptionData (const css::uno::Sequence< css::beans::NamedValue > &o_rEncryptionData)=0 |
Will be called every time an encryption data needs to be verified. More... | |
Base class for a password verifier used by the DocPasswordHelper class below.
Users have to implement the virtual functions and pass an instance of the verifier to one of the password request functions.
Definition at line 49 of file docpasswordhelper.hxx.
|
virtual |
Definition at line 83 of file docpasswordhelper.cxx.
|
pure virtual |
Will be called every time an encryption data needs to be verified.
rEncryptionData | The data will be validated |
Referenced by comphelper::DocPasswordHelper::requestAndVerifyDocPassword().
|
pure virtual |
Will be called every time a password needs to be verified.
rPassword | The password to be verified |
o_rEncryptionData | Output parameter, that is filled with the EncryptionData generated from the password. The data is filled only if the validation was successful. |
Referenced by comphelper::DocPasswordHelper::requestAndVerifyDocPassword().