Lines Matching refs:aPassword
52 static uno::Sequence< sal_Int8 > GeneratePBKDF2Hash( const ::rtl::OUString& aPassword, const uno::S… in GeneratePBKDF2Hash() argument
56 if ( !aPassword.isEmpty() && aSalt.getLength() && nCount && nHashLength ) in GeneratePBKDF2Hash()
58 ::rtl::OString aBytePass = ::rtl::OUStringToOString( aPassword, RTL_TEXTENCODING_UTF8 ); in GeneratePBKDF2Hash()
79 …ropertyValue > DocPasswordHelper::GenerateNewModifyPasswordInfo( const ::rtl::OUString& aPassword ) in GenerateNewModifyPasswordInfo() argument
86 uno::Sequence< sal_Int8 > aNewHash = GeneratePBKDF2Hash( aPassword, aSalt, nCount, 16 ); in GenerateNewModifyPasswordInfo()
104 sal_Bool DocPasswordHelper::IsModifyPasswordCorrect( const ::rtl::OUString& aPassword, const uno::S… in IsModifyPasswordCorrect() argument
107 if ( !aPassword.isEmpty() && aInfo.getLength() ) in IsModifyPasswordCorrect()
129 …uno::Sequence< sal_Int8 > aNewHash = GeneratePBKDF2Hash( aPassword, aSalt, nCount, aHash.getLength… in IsModifyPasswordCorrect()
287 … sal_Int8 > DocPasswordHelper::GenerateStd97Key( const ::rtl::OUString& aPassword, const uno::Sequ… in GenerateStd97Key() argument
290 if ( !aPassword.isEmpty() && aDocId.getLength() == 16 ) in GenerateStd97Key()
295 sal_Int32 nPassLen = ::std::min< sal_Int32 >( aPassword.getLength(), 15 ); in GenerateStd97Key()
296 rtl_copyMemory( pPassData, aPassword.getStr(), nPassLen * sizeof(pPassData[0]) ); in GenerateStd97Key()