1 // Crypto/ZipStrong.h
\r
3 #ifndef __CRYPTO_ZIP_STRONG_H
\r
4 #define __CRYPTO_ZIP_STRONG_H
\r
6 #include "Common/Buffer.h"
\r
8 #include "../IPassword.h"
\r
13 namespace NZipStrong {
\r
19 void SetPassword(const Byte *data, UInt32 size);
\r
23 public CAesCbcDecoder,
\r
24 public ICryptoSetPassword
\r
31 STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size);
\r
34 class CDecoder: public CBaseCoder
\r
40 MY_UNKNOWN_IMP1(ICryptoSetPassword)
\r
41 HRESULT ReadHeader(ISequentialInStream *inStream, UInt32 crc, UInt64 unpackSize);
\r
42 HRESULT CheckPassword(bool &passwOK);
\r