/aoo4110/main/comphelper/source/misc/ |
H A D | docpasswordhelper.cxx | 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() [all …]
|
H A D | storagehelper.cxx | 424 …e > OStorageHelper::CreatePackageEncryptionData( const ::rtl::OUString& aPassword, const uno::Refe… in CreatePackageEncryptionData() argument 429 if ( !aPassword.isEmpty() ) in CreatePackageEncryptionData() 441 … ::rtl::OString aUTF8Password( ::rtl::OUStringToOString( aPassword, RTL_TEXTENCODING_UTF8 ) ); in CreatePackageEncryptionData() 465 ::rtl::OString aByteStrPass = ::rtl::OUStringToOString( aPassword, pEncoding[nInd] ); in CreatePackageEncryptionData()
|
/aoo4110/main/sc/source/core/data/ |
H A D | tabprotection.cxx | 91 …void setPasswordHash(const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eH… 212 void ScTableProtectionImpl::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHas… in setPasswordHash() argument 214 sal_Int32 nLen = aPassword.getLength(); in setPasswordHash() 217 maPassHash = aPassword; in setPasswordHash() 221 printf("%2.2X ", static_cast<sal_uInt8>(aPassword[i])); in setPasswordHash() 331 void ScDocProtection::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHas… in setPasswordHash() argument 333 mpImpl->setPasswordHash(aPassword, eHash); in setPasswordHash() 406 void ScTableProtection::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eH… in setPasswordHash() argument 408 mpImpl->setPasswordHash(aPassword, eHash); in setPasswordHash()
|
/aoo4110/main/ucb/source/ucp/gio/ |
H A D | gio_mount.cxx | 82 ::rtl::OUString aHostName, aDomain, aUserName, aPassword; in ooo_mount_operation_ask_password() 107 if ( aPassword.getLength() == 0 ) in ooo_mount_operation_ask_password() 108 aPassword = aPrevPassword; in ooo_mount_operation_ask_password() 119 …XME: provide URL here */, aHostName, eDomain, aDomain, eUserName, aUserName, ePassword, aPassword); in ooo_mount_operation_ask_password() 140 aPassword = xSupp->getPassword(); in ooo_mount_operation_ask_password() 146 …g_mount_operation_set_password(op, rtl::OUStringToOString(aPassword, RTL_TEXTENCODING_UTF8).getStr… in ooo_mount_operation_ask_password() 167 …pThis->m_pPrevPassword = strdup(rtl::OUStringToOString(aPassword, RTL_TEXTENCODING_UTF8).getStr()); in ooo_mount_operation_ask_password()
|
/aoo4110/main/ucb/source/ucp/ftp/ |
H A D | ftpurl.cxx | 155 rtl::OUString aPassword,aAccount; in parse() local 186 aPassword = aExpr.copy(1+l); in parse() 187 if(aPassword.getLength()) in parse() 237 aPassword, in parse() 261 rtl::OUString aPassword,aAccount; in ident() local 265 aPassword, in ident() 269 aPassword.getLength() ) in ident() 271 .append(aPassword); in ident() 307 rtl::OUString aPassword,aAccount; in parent() local 311 aPassword, in parent() [all …]
|
H A D | ftpcontent.cxx | 297 rtl::OUString aRealm,aPassword,aAccount; in execute() local 301 aPassword, in execute() 314 aPassword)); in execute()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | tabvwsh3.cxx | 1005 String aPassword; in Execute() local 1018 aPassword = pDlg->GetPassword(); in Execute() 1025 Unprotect( TABLEID_DOC, aPassword ); in Execute() 1043 String aPassword = pDlg->GetPassword(); in Execute() local 1044 Protect( TABLEID_DOC, aPassword ); in Execute() 1094 Unprotect(nTab, aPassword); in Execute() 1133 String aPassword; in Execute() local 1164 aPassword = pDlg->GetPassword(); in Execute() 1187 aPassword = pDlg->GetPassword(); in Execute() 1195 Unprotect( nTab, aPassword ); in Execute() [all …]
|
/aoo4110/main/uui/source/ |
H A D | loginerr.hxx | 90 void SetPassword( const String& aPassword ) in SetPassword() argument 91 { m_aPassword = aPassword; } in SetPassword() 92 void SetPasswordToModify( const String& aPassword ) in SetPasswordToModify() argument 93 { m_aPasswordToModify = aPassword; } in SetPasswordToModify()
|
/aoo4110/main/sal/qa/rtl/digest/ |
H A D | rtl_digest.cxx | 1159 rtl::OString aPassword = "Password"; in PBKDF2_001() local 1162 run_check_PBKDF2(aPassword, false, 1); in PBKDF2_001() 1163 run_check_PBKDF2(aPassword, false, 2); in PBKDF2_001() 1164 run_check_PBKDF2(aPassword, true, 1); in PBKDF2_001() 1165 run_check_PBKDF2(aPassword, true, 2); in PBKDF2_001() 1166 run_check_PBKDF2(aPassword, false, 3); in PBKDF2_001() 1167 run_check_PBKDF2(aPassword, false, 4); in PBKDF2_001() 1168 run_check_PBKDF2(aPassword, true, 3); in PBKDF2_001() 1169 run_check_PBKDF2(aPassword, true, 4); in PBKDF2_001()
|
/aoo4110/main/vbahelper/source/vbahelper/ |
H A D | vbadocumentbase.cxx | 189 VbaDocumentBase::Protect( const uno::Any &aPassword ) throw (uno::RuntimeException) in Protect() argument 194 if( aPassword >>= rPassword ) in Protect() 201 VbaDocumentBase::Unprotect( const uno::Any &aPassword ) throw (uno::RuntimeException) in Unprotect() argument 211 if( aPassword >>= rPassword ) in Unprotect()
|
/aoo4110/main/sc/inc/ |
H A D | tabprotection.hxx | 74 virtual void setPasswordHash(const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword, 104 virtual void setPasswordHash(const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword, 161 virtual void setPasswordHash(const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
|
/aoo4110/main/comphelper/inc/comphelper/ |
H A D | docpasswordhelper.hxx | 122 GenerateNewModifyPasswordInfo( const ::rtl::OUString& aPassword ); 141 const ::rtl::OUString& aPassword, 233 const ::rtl::OUString& aPassword,
|
/aoo4110/main/basic/source/basmgr/ |
H A D | basmgr.cxx | 451 String aPassword; member in BasicLibInfo 493 sal_Bool HasPassword() const { return aPassword.Len() != 0; } in HasPassword() 494 const String& GetPassword() const { return aPassword; } in GetPassword() 496 { aPassword = rNewPassword; } in SetPassword() 1247 String aPassword; in ImpLoadLibary() local 1248 xBasicStream->ReadByteString(aPassword); in ImpLoadLibary() 1249 pLibInfo->SetPassword( aPassword ); in ImpLoadLibary() 2037 const ::rtl::OUString& aPassword, in LibraryInfo_Impl() 2044 , maPassword( aPassword ) in LibraryInfo_Impl() 2435 ::rtl::OUString aPassword = pLibInfo->GetPassword(); in getByName() [all …]
|
/aoo4110/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | Settings.java | 169 String aPassword = (String)ht.get( "Password" ); in getSettingByUrl() local 170 …if ( sUserName != null && sUserName.length() > 0 && ( aPassword == null || aPassword.length() == 0… in getSettingByUrl()
|
/aoo4110/main/sc/source/filter/ftools/ |
H A D | fapihelper.cxx | 147 ::rtl::OUString aPassword; in QueryEncryptionDataForMedium() 150 aPassword = pPasswordItem->GetValue(); in QueryEncryptionDataForMedium() 156 rVerifier, aEncryptionData, aPassword, rMedium.GetInteractionHandler(), aDocName, in QueryEncryptionDataForMedium()
|
/aoo4110/main/ucb/source/ucp/tdoc/ |
H A D | tdoc_content.cxx | 2940 rtl::OUString aPassword; in getInputStream() local 2958 m_pProvider->queryInputStream( aUri, aPassword ) ); in getInputStream() 2963 aPassword in getInputStream() 2982 rtl::OUString aPassword; in lcl_getTruncatedOutputStream() local 2990 rUri, aPassword, true /* truncate */ ) ); in lcl_getTruncatedOutputStream() 2995 aPassword in lcl_getTruncatedOutputStream() 3033 rtl::OUString aPassword; in getStream() local 3041 aUri, aPassword, false /* no truncate */ ) ); in getStream() 3046 aPassword in getStream()
|
H A D | tdoc_stgelems.cxx | 343 const ::rtl::OUString& aPassword ) in openEncryptedStreamElement() 353 aStreamName, nOpenMode, aPassword ); in openEncryptedStreamElement() 387 const ::rtl::OUString& aPassword ) in cloneEncryptedStreamElement() 397 aPassword ); in cloneEncryptedStreamElement()
|
/aoo4110/main/vbahelper/inc/vbahelper/ |
H A D | vbadocumentbase.hxx | 58 …virtual void SAL_CALL Protect( const css::uno::Any & aPassword ) throw (css::uno::RuntimeException… 59 …virtual void SAL_CALL Unprotect( const css::uno::Any &aPassword ) throw (css::uno::RuntimeExceptio…
|
/aoo4110/main/offapi/com/sun/star/util/ |
H A D | XProtectable.idl | 48 void protect( [in] string aPassword ); 53 void unprotect( [in] string aPassword )
|
/aoo4110/main/basctl/source/basicide/ |
H A D | moduldl2.cxx | 321 String aPassword; in EditingEntry() local 323 bOK = QueryPassword( xModLibContainer1, aLibName, aPassword ); in EditingEntry() 989 String aPassword; in InsertLib() local 995 … bOK = QueryPassword( xModLibContImp, aLibName, aPassword, sal_True, sal_True ); in InsertLib() 1080 ::rtl::OUString aOUPassword( aPassword ); in InsertLib() 1183 String aPassword; in Export() local 1185 bOK = QueryPassword( xModLibContainer1, aLibName, aPassword ); in Export()
|
H A D | bastype3.cxx | 78 String aPassword; in RequestingChilds() local 79 bOK = QueryPassword( xModLibContainer, aLibName, aPassword ); in RequestingChilds()
|
/aoo4110/main/ucb/source/ucp/gvfs/ |
H A D | gvfs_content.cxx | 1581 ::rtl::OUString aHostName, aDomain, aUserName, aPassword; in vfs_authentication_callback() 1618 aPassword = aLastPassword; in vfs_authentication_callback() 1625 ePassword, aPassword); in vfs_authentication_callback() 1642 aPassword = xSupp->getPassword(); in vfs_authentication_callback() 1647 aLastPassword = aPassword; in vfs_authentication_callback() 1652 out->password = OUStringToGnome( aPassword ); in vfs_authentication_callback()
|
/aoo4110/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 619 SfxStringItem aPassword( SID_PASSWORD, aPasswrd ); in ExecuteNewDocument() local 629 aSet.Put( aPassword ); in ExecuteNewDocument() 644 aRequest.AppendItem (aPassword); in ExecuteNewDocument()
|
/aoo4110/main/xmloff/source/text/ |
H A D | XMLSectionExport.cxx | 468 Sequence<sal_Int8> aPassword; in ExportRegularSectionStart() local 469 xPropSet->getPropertyValue(sProtectionKey) >>= aPassword; in ExportRegularSectionStart() 470 if (aPassword.getLength() > 0) in ExportRegularSectionStart() 473 SvXMLUnitConverter::encodeBase64(aBuffer, aPassword); in ExportRegularSectionStart()
|
/aoo4110/main/sfx2/source/dialog/ |
H A D | mailmodel.cxx | 588 rtl::OUString aPassword = aMediaDescrPropsHM.getUnpackedValueOrDefault( in SaveDocumentAsFormat() local 591 if ( aPassword.getLength() > 0 ) in SaveDocumentAsFormat() 595 aArgs[nNumArgs-1].Value = css::uno::makeAny( aPassword ); in SaveDocumentAsFormat()
|