diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-05-08 12:56:22 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-05-08 12:56:22 +0000 |
commit | 9e15535240d18a963bd7e7e51957ef4e8d3feed7 (patch) | |
tree | fad15a90949a584e4cbb2c9c715124a8a0edc929 /package/source | |
parent | 885ef79bbdaec4359cefae50906a8a0229832770 (diff) |
Update manifest import to reflect new manifest.dtd
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/manifest/ManifestImport.hxx | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/package/source/manifest/ManifestImport.hxx b/package/source/manifest/ManifestImport.hxx index 51968e482838..eca64fd9945f 100644 --- a/package/source/manifest/ManifestImport.hxx +++ b/package/source/manifest/ManifestImport.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ManifestImport.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mtg $ $Date: 2001-04-27 14:56:05 $ + * last change: $Author: mtg $ $Date: 2001-05-08 13:56:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,15 +82,45 @@ enum ElementNames e_Manifest, e_FileEntry, e_EncryptionData, - e_InitialisationVector + e_Algorithm, + e_KeyDerivation }; class ManifestImport : public cppu::WeakImplHelper1 < com::sun::star::xml::sax::XDocumentHandler > { -private: +protected: com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aSequence; sal_Int16 nNumProperty; ::std::stack < ElementNames > aStack; - std::vector < ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue > > & rManVector; + sal_Bool bIgnoreEncryptData; + ::std::vector < ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue > > & rManVector; + + const ::rtl::OUString sFileEntryElement; + const ::rtl::OUString sManifestElement; + const ::rtl::OUString sEncryptionDataElement; + const ::rtl::OUString sAlgorithmElement; + const ::rtl::OUString sKeyDerivationElement; + + const ::rtl::OUString sCdataAttribute; + const ::rtl::OUString sMediaTypeAttribute; + const ::rtl::OUString sFullPathAttribute; + const ::rtl::OUString sSizeAttribute; + const ::rtl::OUString sSaltAttribute; + const ::rtl::OUString sInitialisationVectorAttribute; + const ::rtl::OUString sIterationCountAttribute; + const ::rtl::OUString sAlgorithmNameAttribute; + const ::rtl::OUString sKeyDerivationNameAttribute; + + const ::rtl::OUString sFullPathProperty; + const ::rtl::OUString sMediaTypeProperty; + const ::rtl::OUString sIterationCountProperty; + const ::rtl::OUString sSaltProperty; + const ::rtl::OUString sInitialisationVectorProperty; + const ::rtl::OUString sSizeProperty; + + const ::rtl::OUString sWhiteSpace; + const ::rtl::OUString sBlowfish; + const ::rtl::OUString sPBKDF2; + public: ManifestImport( std::vector < ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue > > & rNewVector ); ~ManifestImport( void ); |