summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackageStream.hxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-03-17 09:16:41 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-03-17 09:16:41 +0100
commit99e3106a3e2185f521930f5a42adc4e5c1287245 (patch)
tree01ab245c0323a05e487edb36188aeed5563ca315 /package/inc/ZipPackageStream.hxx
parentb52c8fd79b8089608b9bc979b598602ffb171a90 (diff)
mav60: #164341# support AES encryption
Diffstat (limited to 'package/inc/ZipPackageStream.hxx')
-rw-r--r--package/inc/ZipPackageStream.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx
index 5ea0c82ce047..7d22bf71a86d 100644
--- a/package/inc/ZipPackageStream.hxx
+++ b/package/inc/ZipPackageStream.hxx
@@ -97,11 +97,13 @@ public:
::com::sun::star::uno::Sequence< sal_Int8 > GetEncryptionKey( bool bWinEncoding = false );
- const com::sun::star::uno::Sequence < sal_uInt8 >& getInitialisationVector () const
+ sal_Int32 GetKeyGenID();
+
+ const com::sun::star::uno::Sequence < sal_Int8 >& getInitialisationVector () const
{ return m_xBaseEncryptionData->m_aInitVector;}
- const com::sun::star::uno::Sequence < sal_uInt8 >& getDigest () const
+ const com::sun::star::uno::Sequence < sal_Int8 >& getDigest () const
{ return m_xBaseEncryptionData->m_aDigest;}
- const com::sun::star::uno::Sequence < sal_uInt8 >& getSalt () const
+ const com::sun::star::uno::Sequence < sal_Int8 >& getSalt () const
{ return m_xBaseEncryptionData->m_aSalt;}
sal_Int32 getIterationCount () const
{ return m_xBaseEncryptionData->m_nIterationCount;}
@@ -129,11 +131,11 @@ public:
void setKey (const com::sun::star::uno::Sequence < sal_Int8 >& rNewKey )
{ m_aEncryptionKey = rNewKey; m_aStorageEncryptionKeys.realloc( 0 ); }
- void setInitialisationVector (const com::sun::star::uno::Sequence < sal_uInt8 >& rNewVector )
+ void setInitialisationVector (const com::sun::star::uno::Sequence < sal_Int8 >& rNewVector )
{ m_xBaseEncryptionData->m_aInitVector = rNewVector;}
- void setSalt (const com::sun::star::uno::Sequence < sal_uInt8 >& rNewSalt )
+ void setSalt (const com::sun::star::uno::Sequence < sal_Int8 >& rNewSalt )
{ m_xBaseEncryptionData->m_aSalt = rNewSalt;}
- void setDigest (const com::sun::star::uno::Sequence < sal_uInt8 >& rNewDigest )
+ void setDigest (const com::sun::star::uno::Sequence < sal_Int8 >& rNewDigest )
{ m_xBaseEncryptionData->m_aDigest = rNewDigest;}
void setIterationCount (const sal_Int32 nNewCount)
{ m_xBaseEncryptionData->m_nIterationCount = nNewCount;}