diff options
Diffstat (limited to 'include/comphelper/docpasswordhelper.hxx')
-rw-r--r-- | include/comphelper/docpasswordhelper.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx index b275be2d93ab..7a020ed85417 100644 --- a/include/comphelper/docpasswordhelper.hxx +++ b/include/comphelper/docpasswordhelper.hxx @@ -37,7 +37,7 @@ enum DocPasswordVerifierResult DocPasswordVerifierResult_ABORT }; -// ============================================================================ + /** Base class for a password verifier used by the DocPasswordHelper class below. @@ -89,14 +89,14 @@ public: }; -// ============================================================================ + /** Helper that asks for a document password and checks its validity. */ class COMPHELPER_DLLPUBLIC DocPasswordHelper { public: - // ------------------------------------------------------------------------ + /** This helper function generates the information related to "Password to modify" provided by user. The result @@ -113,7 +113,7 @@ public: static ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GenerateNewModifyPasswordInfo( const OUString& aPassword ); - // ------------------------------------------------------------------------ + /** This helper function allows to check whether the "Password to modify" provided by user is the correct one. @@ -134,7 +134,7 @@ public: const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aInfo ); - // ------------------------------------------------------------------------ + /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" feature of Word. @@ -149,7 +149,7 @@ public: static sal_uInt32 GetWordHashAsUINT32( const OUString& aString ); - // ------------------------------------------------------------------------ + /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" and passwords related to @@ -170,7 +170,7 @@ public: const OUString& aString, rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 ); - // ------------------------------------------------------------------------ + /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" and passwords related to @@ -191,7 +191,7 @@ public: const OUString& aString, rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 ); - // ------------------------------------------------------------------------ + /** This helper function generates a random sequence of bytes of requested length. @@ -200,7 +200,7 @@ public: static ::com::sun::star::uno::Sequence< sal_Int8 > GenerateRandomByteSequence( sal_Int32 nLength ); - // ------------------------------------------------------------------------ + /** This helper function generates a byte sequence representing the key digest value used by MSCodec_Std97 codec. @@ -210,7 +210,7 @@ public: const OUString& aPassword, const ::com::sun::star::uno::Sequence< sal_Int8 >& aDocId ); - // ------------------------------------------------------------------------ + /** This helper function generates a byte sequence representing the key digest value used by MSCodec_Std97 codec. @@ -228,7 +228,7 @@ public: const sal_uInt16 pPassData[16], const sal_uInt8 pDocId[16] ); - // ------------------------------------------------------------------------ + /** This helper function tries to request and verify a password to load a protected document. @@ -298,7 +298,7 @@ private: ~DocPasswordHelper(); }; -// ============================================================================ + } // namespace comphelper |