Home
last modified time | relevance | path

Searched refs:aEncryptionData (Results 1 – 25 of 26) sorted by relevance

12

/aoo42x/main/sc/source/filter/excel/
H A Dxeroot.cxx254 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 Dxestream.cxx488 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 Dstoragehelper.cxx243 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 Ddocpasswordhelper.cxx452 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 Dfapihelper.cxx142 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 Dohierarchyholder.cxx40 …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 Dowriteablestream.cxx488 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 Dowriteablestream.hxx206 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 Dohierarchyholder.hxx94 … const ::comphelper::SequenceAsHashMap& aEncryptionData = ::comphelper::SequenceAsHashMap() );
131 … const ::comphelper::SequenceAsHashMap& aEncryptionData = ::comphelper::SequenceAsHashMap() );
H A Dxstorage.hxx265 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 Dxstorage.cxx1691 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 Dww8par.cxx4923 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 Dwrtww8.cxx3173 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 DXStorage2.idl65 @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 DXEncryptionProtectedSource2.idl48 @param aEncryptionData
54 void setEncryptionData( [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
H A DXHierarchicalStorageAccess2.idl65 @param aEncryptionData
91 [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
/aoo42x/main/sfx2/source/appl/
H A Dappopen.cxx354 uno::Sequence< beans::NamedValue > aEncryptionData; in CheckPasswd_Impl() local
357 pEncryptionDataItem->GetValue() >>= aEncryptionData; in CheckPasswd_Impl()
362aEncryptionData = ::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 Dencryption.cxx216 SequenceAsHashMap aEncryptionData; in verifyPassword() local
217aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionKey" ) ] <<= Sequence< sal_Int8 >( reinterpret_… in verifyPassword()
218aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionSalt" ) ] <<= Sequence< sal_Int8 >( reinterpret… in verifyPassword()
219aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionVerifier" ) ] <<= Sequence< sal_Int8 >( reinter… in verifyPassword()
220aEncryptionData[ CREATE_OUSTRING( "AES128EncryptionVerifierHash" ) ] <<= Sequence< sal_Int8 >( rei… in verifyPassword()
222 aResult = aEncryptionData.getAsConstNamedValueList(); in verifyPassword()
H A Dfilterdetect.cxx377 …Sequence< NamedValue > aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassw… in extractUnencryptedPackage() local
380 if( aEncryptionData.getLength() == 0 ) in extractUnencryptedPackage()
/aoo42x/main/sfx2/source/dialog/
H A Dversdlg.cxx328 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 Dobjstor.cxx1040 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 Ddocfile.cxx902 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 Dxestream.hxx241 …t( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData );
/aoo42x/main/comphelper/inc/comphelper/
H A Dstoragehelper.hxx118 const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aEncryptionData )
/aoo42x/main/oox/source/dump/
H A Ddumperbase.cxx1558 Sequence< NamedValue > aEncryptionData; in requestEncryptionData() local
1563 aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword( in requestEncryptionData()
1565 mbPwCancelled = !aEncryptionData.hasElements(); in requestEncryptionData()
1567 return aEncryptionData; in requestEncryptionData()

Completed in 278 milliseconds

12