/aoo42x/main/sc/source/filter/excel/ |
H A D | xeroot.cxx | 254 uno::Sequence< beans::NamedValue > aEncryptionData; in GenerateEncryptionData() local 275 aEncryptionData = aCodec.GetEncryptionData(); in GenerateEncryptionData() 278 return aEncryptionData; in GenerateEncryptionData() 283 uno::Sequence< beans::NamedValue > aEncryptionData; in GetEncryptionData() local 286 pEncryptionDataItem->GetValue() >>= aEncryptionData; in GetEncryptionData() 292 aEncryptionData = GenerateEncryptionData( pPasswordItem->GetValue() ); in GetEncryptionData() 295 return aEncryptionData; in GetEncryptionData() 300 uno::Sequence< beans::NamedValue > aEncryptionData; in GenerateDefaultEncryptionData() local 302 aEncryptionData = GenerateEncryptionData( GetDefaultPassword() ); in GenerateDefaultEncryptionData() 304 return aEncryptionData; in GenerateDefaultEncryptionData()
|
H A D | xestream.cxx | 488 Sequence< NamedValue > aEncryptionData = rRoot.GetEncryptionData(); in XclExpBiff8Encrypter() local 489 if( !aEncryptionData.hasElements() ) in XclExpBiff8Encrypter() 491 aEncryptionData = rRoot.GenerateDefaultEncryptionData(); in XclExpBiff8Encrypter() 492 Init( aEncryptionData ); in XclExpBiff8Encrypter()
|
/aoo42x/main/comphelper/source/misc/ |
H A D | storagehelper.cxx | 243 const uno::Sequence< beans::NamedValue >& aEncryptionData ) in SetCommonStorageEncryptionData() 250 xEncrSet->setEncryptionData( aEncryptionData ); in SetCommonStorageEncryptionData() 427 uno::Sequence< beans::NamedValue > aEncryptionData; in CreatePackageEncryptionData() local 445 aEncryptionData.realloc( ++nSha1Ind ); in CreatePackageEncryptionData() 446 aEncryptionData[0].Name = PACKAGE_ENCRYPTIONDATA_SHA256UTF8; in CreatePackageEncryptionData() 447 aEncryptionData[0].Value <<= aDigest; in CreatePackageEncryptionData() 457 aEncryptionData.realloc( nSha1Ind + 2 ); in CreatePackageEncryptionData() 458 aEncryptionData[nSha1Ind].Name = PACKAGE_ENCRYPTIONDATA_SHA1UTF8; in CreatePackageEncryptionData() 459 aEncryptionData[nSha1Ind + 1].Name = PACKAGE_ENCRYPTIONDATA_SHA1MS1252; in CreatePackageEncryptionData() 475 aEncryptionData.realloc( nSha1Ind ); in CreatePackageEncryptionData() [all …]
|
H A D | docpasswordhelper.cxx | 452 uno::Sequence< beans::NamedValue > aEncryptionData = requestAndVerifyDocPassword( in requestAndVerifyDocPassword() local 459 if( (aEncryptionData.getLength() > 0) && !bIsDefaultPassword ) in requestAndVerifyDocPassword() 460 rMediaDesc[ MediaDescriptor::PROP_ENCRYPTIONDATA() ] <<= aEncryptionData; in requestAndVerifyDocPassword() 462 return aEncryptionData; in requestAndVerifyDocPassword()
|
/aoo42x/main/sc/source/filter/ftools/ |
H A D | fapihelper.cxx | 142 uno::Sequence< beans::NamedValue > aEncryptionData; in QueryEncryptionDataForMedium() local 145 pEncryptionDataItem->GetValue() >>= aEncryptionData; in QueryEncryptionDataForMedium() 155 aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword( in QueryEncryptionDataForMedium() 156 rVerifier, aEncryptionData, aPassword, rMedium.GetInteractionHandler(), aDocName, in QueryEncryptionDataForMedium() 162 if( !bIsDefaultPassword && (aEncryptionData.getLength() > 0) ) in QueryEncryptionDataForMedium() 163 … rMedium.GetItemSet()->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ) ); in QueryEncryptionDataForMedium() 165 return aEncryptionData; in QueryEncryptionDataForMedium()
|
/aoo42x/main/package/source/xstor/ |
H A D | ohierarchyholder.cxx | 40 …st_Impl& aListPath, sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap& aEncryptionData ) in GetStreamHierarchically() argument 48 m_xChild->GetStreamHierarchically( nStorageMode, aListPath, nStreamMode, aEncryptionData ); in GetStreamHierarchically() 87 …st_Impl& aListPath, sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap& aEncryptionData ) in GetStreamHierarchically() argument 109 if ( !aEncryptionData.size() ) in GetStreamHierarchically() 117 …rage->openEncryptedStreamByHierarchicalName( aNextName, nStreamMode, aEncryptionData.getAsConstNam… in GetStreamHierarchically() 154 …esult = aElement->GetStreamHierarchically( nStorageMode, aListPath, nStreamMode, aEncryptionData ); in GetStreamHierarchically()
|
H A D | owriteablestream.cxx | 488 void OWriteStream_Impl::SetEncrypted( const ::comphelper::SequenceAsHashMap& aEncryptionData ) in SetEncrypted() argument 494 if ( !aEncryptionData.size() ) in SetEncrypted() 513 m_aEncryptionData = aEncryptionData; in SetEncrypted() 1220 const ::comphelper::SequenceAsHashMap& aEncryptionData ) in CopyInternallyTo_Impl() 1244 xEncr->setEncryptionData( aEncryptionData.getAsConstNamedValueList() ); in CopyInternallyTo_Impl() 1304 if ( !::package::PackageEncryptionDatasEqual( m_aEncryptionData, aEncryptionData ) ) in GetStream() 1312 SetEncryptionKeyProperty_Impl( xPropertySet, aEncryptionData.getAsConstNamedValueList() ); in GetStream() 1319 m_aEncryptionData = aEncryptionData; in GetStream() 1639 uno::Sequence< beans::NamedValue > aKey = aEncryptionData.getAsConstNamedValueList(); in GetCopyOfLastCommit() 1661 SetEncryptionKeyProperty_Impl( xPropertySet, aEncryptionData.getAsConstNamedValueList() ); in GetCopyOfLastCommit() [all …]
|
H A D | owriteablestream.hxx | 206 void SetEncrypted( const ::comphelper::SequenceAsHashMap& aEncryptionData ); 228 const ::comphelper::SequenceAsHashMap& aEncryptionData ); 233 const ::comphelper::SequenceAsHashMap& aEncryptionData, 255 const ::comphelper::SequenceAsHashMap& aEncryptionData ); 369 …om::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData ) throw (::co…
|
H A D | ohierarchyholder.hxx | 94 … const ::comphelper::SequenceAsHashMap& aEncryptionData = ::comphelper::SequenceAsHashMap() ); 131 … const ::comphelper::SequenceAsHashMap& aEncryptionData = ::comphelper::SequenceAsHashMap() );
|
H A D | xstorage.hxx | 265 const ::comphelper::SequenceAsHashMap& aEncryptionData, 494 …de, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData ) 503 …me, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData ) 643 … const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData ) 844 …de, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData )
|
H A D | xstorage.cxx | 1691 const ::comphelper::SequenceAsHashMap& aEncryptionData, in CloneStreamElement() 1724 pElement->m_pStream->GetCopyOfLastCommit( xTargetStream, aEncryptionData ); in CloneStreamElement() 3599 if ( !aEncryptionData.getLength() ) in openEncryptedStream() 3684 const uno::Sequence< beans::NamedValue >& aEncryptionData ) in cloneEncryptedStream() 3706 if ( !aEncryptionData.getLength() ) in cloneEncryptedStream() 3712 m_pImpl->CloneStreamElement( aStreamName, sal_True, aEncryptionData, xResult ); in cloneEncryptedStream() 4757 if ( !aEncryptionData.getLength() ) in setEncryptionData() 4787 ::comphelper::SequenceAsHashMap aEncryptionMap( aEncryptionData ); in setEncryptionData() 6356 if ( !aEncryptionData.getLength() ) in openEncryptedStreamByHierarchicalName() 6376 pElement->m_pStream->GetStream( nOpenMode, aEncryptionData, sal_True ), in openEncryptedStreamByHierarchicalName() [all …]
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | ww8par.cxx | 4923 uno::Sequence< beans::NamedValue > aEncryptionData; in InitXorWord95Codec() local 4925 …ryptionData && ( pEncryptionData->GetValue() >>= aEncryptionData ) && !rCodec.InitCodec( aEncrypti… in InitXorWord95Codec() 4926 aEncryptionData.realloc( 0 ); in InitXorWord95Codec() 4928 if ( !aEncryptionData.getLength() ) in InitXorWord95Codec() 4972 aEncryptionHash >> aEncryptionData; in InitXorWord95Codec() 4976 return aEncryptionData; in InitXorWord95Codec() 4981 uno::Sequence< beans::NamedValue > aEncryptionData; in InitStd97Codec() local 4983 …ryptionData && ( pEncryptionData->GetValue() >>= aEncryptionData ) && !rCodec.InitCodec( aEncrypti… in InitStd97Codec() 4984 aEncryptionData.realloc( 0 ); in InitStd97Codec() 4986 if ( !aEncryptionData.getLength() ) in InitStd97Codec() [all …]
|
H A D | wrtww8.cxx | 3173 uno::Sequence< beans::NamedValue > aEncryptionData; in InitStd97CodecUpdateMedium() local 3178 …ataItem && ( pEncryptionDataItem->GetValue() >>= aEncryptionData ) && !rCodec.InitCodec( aEncrypti… in InitStd97CodecUpdateMedium() 3181 aEncryptionData.realloc( 0 ); in InitStd97CodecUpdateMedium() 3184 if ( !aEncryptionData.getLength() ) in InitStd97CodecUpdateMedium() 3207 aEncryptionData = rCodec.GetEncryptionData(); in InitStd97CodecUpdateMedium() 3209 …pMedium->GetItemSet()->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ) ); in InitStd97CodecUpdateMedium() 3213 if ( aEncryptionData.getLength() ) in InitStd97CodecUpdateMedium() 3218 return ( aEncryptionData.getLength() != 0 ); in InitStd97CodecUpdateMedium()
|
/aoo42x/main/offapi/com/sun/star/embed/ |
H A D | XStorage2.idl | 65 @param aEncryptionData 91 [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData ) 122 @param aEncryptionData 147 [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
|
H A D | XEncryptionProtectedSource2.idl | 48 @param aEncryptionData 54 void setEncryptionData( [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
|
H A D | XHierarchicalStorageAccess2.idl | 65 @param aEncryptionData 91 [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
|
/aoo42x/main/sfx2/source/appl/ |
H A D | appopen.cxx | 354 uno::Sequence< beans::NamedValue > aEncryptionData; in CheckPasswd_Impl() local 357 pEncryptionDataItem->GetValue() >>= aEncryptionData; in CheckPasswd_Impl() 362 … aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword( in CheckPasswd_Impl() 363 …aVerifier, aEncryptionData, aPassword, xInteractionHandler, aDocumentName, comphelper::DocPassword… in CheckPasswd_Impl() 368 if ( aEncryptionData.getLength() > 0 ) in CheckPasswd_Impl() 370 … pSet->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ) ); in CheckPasswd_Impl()
|
/aoo42x/main/oox/source/core/ |
H A D | encryption.cxx | 216 SequenceAsHashMap aEncryptionData; in verifyPassword() local 217 …aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionKey" ) ] <<= Sequence< sal_Int8 >( reinterpret_… in verifyPassword() 218 …aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionSalt" ) ] <<= Sequence< sal_Int8 >( reinterpret… in verifyPassword() 219 …aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionVerifier" ) ] <<= Sequence< sal_Int8 >( reinter… in verifyPassword() 220 …aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionVerifierHash" ) ] <<= Sequence< sal_Int8 >( rei… in verifyPassword() 222 aResult = aEncryptionData.getAsConstNamedValueList(); in verifyPassword()
|
H A D | filterdetect.cxx | 377 …Sequence< NamedValue > aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassw… in extractUnencryptedPackage() local 380 if( aEncryptionData.getLength() == 0 ) in extractUnencryptedPackage()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | versdlg.cxx | 328 uno::Sequence< beans::NamedValue > aEncryptionData; in Open_Impl() local 329 if ( GetEncryptionData_Impl( pObjShell->GetMedium()->GetItemSet(), aEncryptionData ) ) in Open_Impl() 332 SfxUnoAnyItem aEncryptionDataItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ); in Open_Impl()
|
/aoo42x/main/sfx2/source/doc/ |
H A D | objstor.cxx | 1040 uno::Sequence< beans::NamedValue > aEncryptionData; in DoSave() local 1043 if ( GetEncryptionData_Impl( GetMedium()->GetItemSet(), aEncryptionData ) ) in DoSave() 1048 …lper::OStorageHelper::SetCommonStorageEncryptionData( GetMedium()->GetStorage(), aEncryptionData ); in DoSave() 1430 uno::Sequence< beans::NamedValue > aEncryptionData; in SaveTo_Impl() local 1432 if ( GetEncryptionData_Impl( rMedium.GetItemSet(), aEncryptionData ) ) in SaveTo_Impl() 1436 … ::comphelper::OStorageHelper::SetCommonStorageEncryptionData( xMedStorage, aEncryptionData ); in SaveTo_Impl() 3226 uno::Sequence< beans::NamedValue > aEncryptionData; in LoadOwnFormat() local 3227 if ( GetEncryptionData_Impl(pMedium->GetItemSet(), aEncryptionData) ) in LoadOwnFormat() 3232 … ::comphelper::OStorageHelper::SetCommonStorageEncryptionData( xStorage, aEncryptionData ); in LoadOwnFormat()
|
H A D | docfile.cxx | 902 uno::Sequence< beans::NamedValue > aEncryptionData; in SetEncryptionDataToStorage_Impl() local 903 if ( GetEncryptionData_Impl( pSet, aEncryptionData ) ) in SetEncryptionDataToStorage_Impl() 907 pSet->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ) ); in SetEncryptionDataToStorage_Impl() 911 ::comphelper::OStorageHelper::SetCommonStorageEncryptionData( pImp->xStorage, aEncryptionData ); in SetEncryptionDataToStorage_Impl()
|
/aoo42x/main/sc/source/filter/inc/ |
H A D | xestream.hxx | 241 …t( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData );
|
/aoo42x/main/comphelper/inc/comphelper/ |
H A D | storagehelper.hxx | 118 const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData )
|
/aoo42x/main/oox/source/dump/ |
H A D | dumperbase.cxx | 1558 Sequence< NamedValue > aEncryptionData; in requestEncryptionData() local 1563 aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword( in requestEncryptionData() 1565 mbPwCancelled = !aEncryptionData.hasElements(); in requestEncryptionData() 1567 return aEncryptionData; in requestEncryptionData()
|