├── Build
├── ToDo.txt
├── AddLanguage.vb
├── XecretsFileClassic.ico
├── Sigs.template.xml
├── Version.wxi.template
├── packages.config
├── Sigs.xml
├── BuildDummy.cpp
├── resource.h
├── Config.xml
├── Version.h.template
├── README.txt
└── Build.vcxproj.filters
├── AxWinLib
├── AxAssert.cpp
├── AxMLite.cpp
├── CVersionWin.h
├── CVersionWin.cpp
├── CWinVersion.cpp
├── DynLoadString.h
├── GetModuleFileName.h
├── StdAfx.cpp
├── StdAfx.h
├── targetver.h
├── GetModuleFilename.cpp
├── IStaticHyperlink.h
├── ReadMe.txt
├── VistaOrLater.h
├── DynLoadString.cpp
├── IDocumentAppLaunch.h
├── IWinVersion.h
├── CDocumentAppLaunch.cpp
└── mygetopt.h
├── AxDecrypt
├── Passphrase.cpp
├── RelNotes.txt
├── StdAfx.cpp
├── ChangeLog.txt
├── AxDecrypt.manifest.Win32
├── AxDecrypt.vcxproj.filters
├── ReadMe.txt
└── AxDecrypt.h
├── XecretsFile2Go
├── CDialogs.cpp
├── GoGreen.bmp
├── GoGrey.bmp
├── Toolbar.bmp
├── XecretsFile2Go.ico
├── stdafx.cpp
├── CDialogs.h
├── XecretsFile2Go.manifest.Win32
├── XecretsFile2GoWin.h
├── CConfigWin.h
├── Axgettext.h
├── ReadMe.txt
├── resource.h
└── stdafx.h
├── XecretsFileClassic
├── Constants.cpp
├── StdAfx.cpp
├── targetver.h
├── DlgLicense.h
├── DlgRegistration.h
├── CSha1.h
├── Dialog.h
├── XecretsFileClassic.manifest.Win32
├── XecretsFileClassic.manifest.x64
├── CActiveThreads.h
├── CCryptoRand.h
├── CFileTemp.h
├── ReadMe.txt
├── CWrapper.h
├── FileCmd.h
├── resource.h
├── CCryptoHeap.h
└── AxConfig.h
├── XecretsFileShellExt
├── CtxMenu.bmp
├── XecretsFileShellExt.def
├── StdAfx.cpp
├── StdAfx.h
├── targetver.h
├── XecretsFileShellExt.manifest.Win32
├── XecretsFileShellExt.manifest.x64
├── ReadMe.txt
├── resource.h
├── XecretsFileShellExt.vcxproj.filters
└── XecretsFileShellExtInit.cpp
├── XecretsFileMessages
├── AddLanguage.vb
├── XecretsFileTexts.mc
├── AddLanguage
│ └── AddLanguage.vsmacros
├── resource.h
├── MessageCompiler.rules
├── MessageCompiler.props
├── XecretsFileMessages.vcxproj.filters
└── XecretsFileMessages.rc
├── .gitignore
├── DependencyOrder
├── DependencyOrder.cpp
├── stdafx.cpp
├── targetver.h
├── stdafx.h
└── ReadMe.txt
├── .hgignore
├── AxPortLib
├── stdafx.cpp
├── stdafx.h
├── targetver.h
├── ReadMe.txt
├── ttchar.h
├── AxPortLib.vcxproj.filters
└── strcvt.h
├── XecretsFileLib
├── stdafx.cpp
├── stdafx.h
├── ReadMe.txt
├── CXecretsFileLib.cpp
├── Assert.h
├── XecretsFileLibPP.cpp
└── XecretsFileLib.vcxproj.filters
├── XecretsFileCommon
├── stdafx.cpp
├── CHeapCheck.h
├── stdafx.h
├── targetver.h
├── Oem.h
├── ReadMe.txt
├── XecretsFileGUID.h
├── CFmtMsg.h
├── CSubKey.h
├── CStrPtr.h
├── CRegistry.h
├── CSubKey.cpp
├── CFmtMsg.cpp
└── CFileName.h
├── Build.cmd
├── AxSigLib
├── targetver.h
├── stdafx.cpp
├── AxSigLib.h
├── Base34.h
├── ReadMe.txt
├── stdafx.h
├── Base34Enc.h
├── Base34Dec.h
├── Base34Dec.cpp
├── BaseM.h
├── CRestrictMgr.h
├── BaseMDec.h
├── CLicMgr.h
├── CRestrictMgr.cpp
└── SSign.h
├── AxPipe
├── stdafx.h
├── targetver.h
├── ReadMe.txt
├── stdafx.cpp
├── CSourceAxMLite.h
├── AxPipe.cpp
├── TBits.h
├── CPipeHMAC_SHA1.h
└── Examples.h
├── SHA-1
├── sha1.h
├── SHA-1.vcxproj.filters
└── ReadMe.txt
├── AES
├── AES.vcxproj.filters
├── ReadMe.txt
└── rijndael-alg-fst.h
└── XecretsFileWinLib
└── ReadMe.txt
/Build/ToDo.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/Build/ToDo.txt
--------------------------------------------------------------------------------
/AxWinLib/AxAssert.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxWinLib/AxAssert.cpp
--------------------------------------------------------------------------------
/AxWinLib/AxMLite.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxWinLib/AxMLite.cpp
--------------------------------------------------------------------------------
/AxWinLib/CVersionWin.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxWinLib/CVersionWin.h
--------------------------------------------------------------------------------
/Build/AddLanguage.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/Build/AddLanguage.vb
--------------------------------------------------------------------------------
/AxDecrypt/Passphrase.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxDecrypt/Passphrase.cpp
--------------------------------------------------------------------------------
/AxWinLib/CVersionWin.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxWinLib/CVersionWin.cpp
--------------------------------------------------------------------------------
/AxWinLib/CWinVersion.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/AxWinLib/CWinVersion.cpp
--------------------------------------------------------------------------------
/XecretsFile2Go/CDialogs.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFile2Go/CDialogs.cpp
--------------------------------------------------------------------------------
/XecretsFile2Go/GoGreen.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFile2Go/GoGreen.bmp
--------------------------------------------------------------------------------
/XecretsFile2Go/GoGrey.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFile2Go/GoGrey.bmp
--------------------------------------------------------------------------------
/XecretsFile2Go/Toolbar.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFile2Go/Toolbar.bmp
--------------------------------------------------------------------------------
/Build/XecretsFileClassic.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/Build/XecretsFileClassic.ico
--------------------------------------------------------------------------------
/XecretsFileClassic/Constants.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFileClassic/Constants.cpp
--------------------------------------------------------------------------------
/XecretsFileShellExt/CtxMenu.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFileShellExt/CtxMenu.bmp
--------------------------------------------------------------------------------
/XecretsFile2Go/XecretsFile2Go.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFile2Go/XecretsFile2Go.ico
--------------------------------------------------------------------------------
/XecretsFileMessages/AddLanguage.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFileMessages/AddLanguage.vb
--------------------------------------------------------------------------------
/Build/Sigs.template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/XecretsFileMessages/XecretsFileTexts.mc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFileMessages/XecretsFileTexts.mc
--------------------------------------------------------------------------------
/XecretsFileShellExt/XecretsFileShellExt.def:
--------------------------------------------------------------------------------
1 | LIBRARY ShellExt
2 |
3 | EXPORTS
4 | DllCanUnloadNow private
5 | DllGetClassObject private
6 |
--------------------------------------------------------------------------------
/AxWinLib/DynLoadString.h:
--------------------------------------------------------------------------------
1 | #ifndef DYNLOADSTRING_H
2 | #define DYNLOADSTRING_H
3 | extern _TCHAR *DynLoadString(UINT uId, HMODULE hModule = NULL);
4 | #endif
5 |
--------------------------------------------------------------------------------
/AxWinLib/GetModuleFileName.h:
--------------------------------------------------------------------------------
1 | #ifndef GETMODULEFILENAME_H
2 | #define GETMODULEFILENAME_H
3 | extern _TCHAR *MyGetModuleFileName(HINSTANCE hModule);
4 | #endif
5 |
--------------------------------------------------------------------------------
/Build/Version.wxi.template:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/XecretsFileMessages/AddLanguage/AddLanguage.vsmacros:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xecrets/xecrets-file-classic/HEAD/XecretsFileMessages/AddLanguage/AddLanguage.vsmacros
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .vs
2 | Debug
3 | Release
4 | x64
5 | obj
6 | bin
7 | /*.bak
8 | /Build/Version.txt
9 | *.user
10 | *.aps
11 | /Setup/HeatWaveConvert.log
12 | /packages
13 |
--------------------------------------------------------------------------------
/Build/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DependencyOrder/DependencyOrder.cpp:
--------------------------------------------------------------------------------
1 | // DependencyOrder.cpp : Defines the entry point for the console application.
2 | //
3 |
4 | #include "stdafx.h"
5 |
6 |
7 | int _tmain(int argc, _TCHAR* argv[])
8 | {
9 | return 0;
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/.hgignore:
--------------------------------------------------------------------------------
1 | syntax: glob
2 | *.vcxproj.user
3 | *.opensdf
4 | *.sdf
5 | *.DotSettings
6 | *.suo
7 | Build/Version.txt
8 | Debug/*
9 | Release/*
10 | ipch/*
11 | *.bak
12 | _UpgradeReport_Files/*
13 | UpgradeLog.*
14 | UpgradeLog2.*
15 | .vs
16 |
--------------------------------------------------------------------------------
/Build/Sigs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | e8a7f38c5aa2fe29c34e3c0d11a64f825fcb6e27b683853607788805fdf60475309bc884
5 | 3ec651bef8e48278e6212fb8d991006a2b8a889d8e8127102ec01babce2fc971a9caf947
6 | f1d86b2019b84061df808948d4d082581d0e70fa8db224aa
7 |
8 |
--------------------------------------------------------------------------------
/AxPortLib/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // AxPortLib.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/AxWinLib/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // AxWinLib.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/XecretsFileClassic/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // XecretsFileClassic.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
--------------------------------------------------------------------------------
/XecretsFileLib/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // XecretsFileLib.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
--------------------------------------------------------------------------------
/XecretsFile2Go/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // XecretsFile2Go.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/DependencyOrder/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // DependencyOrder.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/XecretsFileShellExt/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // XecretsFileShellExt.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
--------------------------------------------------------------------------------
/XecretsFileCommon/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // XecretsFileCommon.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/DependencyOrder/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/Build/BuildDummy.cpp:
--------------------------------------------------------------------------------
1 | // It turns out to be easiest to simply build a dummy static library in order to get Visual Studio to
2 | // do the right thing vis-a-vis dependency analysis. Tried with 'Utility', but it was hard to get it
3 | // to pick up the dependencies, i.e. I failed and this seemed easier.
4 | namespace XecretsFileClassic {
5 | extern int BuildDummy =
6 | #include "Version.txt"
7 | ;
8 | };
--------------------------------------------------------------------------------
/Build.cmd:
--------------------------------------------------------------------------------
1 | call "%VSINSTALLDIR%vc\Auxiliary\Build\vcvarsall" x86
2 | MSBuild XecretsFileClassic.sln /p:Configuration=Debug;Platform=Win32
3 | MSBuild XecretsFileClassic.sln /p:Configuration=Release;Platform=Win32
4 | call "%VSINSTALLDIR%vc\Auxiliary\Build\vcvarsall" amd64
5 | MSBuild XecretsFileClassic.sln /p:Configuration=Debug;Platform=x64
6 | MSBuild XecretsFileClassic.sln /p:Configuration=Release;Platform=x64
--------------------------------------------------------------------------------
/DependencyOrder/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #include
11 | #include
12 |
13 |
14 |
15 | // TODO: reference additional headers your program requires here
16 |
--------------------------------------------------------------------------------
/XecretsFileCommon/CHeapCheck.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | //
4 | // Helper to detect memory leaks.
5 | //
6 | #ifndef _DEBUGHEAP
7 | #ifdef _DEBUG
8 | class CHeapCheck {
9 | size_t m_stAlloc;
10 | BOOL m_fLeakOk;
11 | LPTSTR m_szFunc;
12 | public:
13 | CHeapCheck(LPTSTR szFunc = _T("[not given]"), BOOL fLeakOk = FALSE);
14 | ~CHeapCheck();
15 | };
16 | #endif _DEBUG
17 | #endif _DEBUGHEAP
18 |
--------------------------------------------------------------------------------
/AxPortLib/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11 |
12 |
13 |
14 | // TODO: reference additional headers your program requires here
15 |
--------------------------------------------------------------------------------
/AxSigLib/targetver.h:
--------------------------------------------------------------------------------
1 | #ifndef AXSIGLIB_TARGETVER_H
2 | #define AXSIGLIB_TARGETVER_H
3 |
4 | // The following macros define the minimum required platform. The minimum required platform
5 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
6 | // your application. The macros work by enabling all features available on platform versions up to and
7 | // including the version specified.
8 |
9 | #endif
--------------------------------------------------------------------------------
/Build/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by Version.rc
4 |
5 | // Next default values for new objects
6 | //
7 | #ifdef APSTUDIO_INVOKED
8 | #ifndef APSTUDIO_READONLY_SYMBOLS
9 | #define _APS_NEXT_RESOURCE_VALUE 101
10 | #define _APS_NEXT_COMMAND_VALUE 40001
11 | #define _APS_NEXT_CONTROL_VALUE 1001
12 | #define _APS_NEXT_SYMED_VALUE 101
13 | #endif
14 | #endif
15 |
--------------------------------------------------------------------------------
/AxPipe/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11 | #define _CRT_RAND_S
12 |
13 |
14 |
15 | // TODO: reference additional headers your program requires here
16 | #include "AxPipe.h"
--------------------------------------------------------------------------------
/XecretsFileMessages/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by XecretsFileMessages.rc
4 | //
5 |
6 | // Next default values for new objects
7 | //
8 | #ifdef APSTUDIO_INVOKED
9 | #ifndef APSTUDIO_READONLY_SYMBOLS
10 | #define _APS_NEXT_RESOURCE_VALUE 101
11 | #define _APS_NEXT_COMMAND_VALUE 40001
12 | #define _APS_NEXT_CONTROL_VALUE 1001
13 | #define _APS_NEXT_SYMED_VALUE 101
14 | #endif
15 | #endif
16 |
--------------------------------------------------------------------------------
/XecretsFileLib/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 | #pragma once
6 |
7 | // XecretsFileLib is operating system independent, and Visual Studio 2005 and later have special
8 | // 'secure' replacements for strcpy et. al. - but we want to be independent of such vendor
9 | // specific extensions in this library, so we disable the Visual Studio warnings.
10 | #define _CRT_SECURE_NO_WARNINGS
11 | #define _CRT_RAND_S
12 |
--------------------------------------------------------------------------------
/AxWinLib/StdAfx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define STRICT
11 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
12 | #define OEMRESOURCE
13 | #define INC_OLE2 // Let windows.h include OLE-stuff
14 | #define _CRT_RAND_S
15 |
16 | // TODO: reference additional headers your program requires here
17 | #include
18 |
--------------------------------------------------------------------------------
/XecretsFileShellExt/StdAfx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | // This is part of enabling XP Visual Styles in a Shell Extension DLL
11 | #define ISOLATION_AWARE_ENABLED 1
12 | #define _CRT_RAND_S
13 |
14 | // Windows Header Files:
15 | #include
16 |
17 | // TODO: reference additional headers your program requires here
18 | #include "XecretsFileShellExt.h"
19 |
--------------------------------------------------------------------------------
/XecretsFileMessages/MessageCompiler.rules:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/SHA-1/sha1.h:
--------------------------------------------------------------------------------
1 | #ifndef _SHA1
2 | #define _SHA1
3 |
4 | #define SHA1HANDSOFF // Svante Seleborg
5 |
6 | typedef struct {
7 | unsigned long state[5];
8 | unsigned long count[2];
9 | unsigned char buffer[64];
10 | #ifdef SHA1HANDSOFF // Svante Seleborg
11 | unsigned char workspace[64]; // Svante Seleborg
12 | #endif // Svante Seleborg
13 | } SHA1_CTX;
14 |
15 | void SHA1Transform(SHA1_CTX* context, unsigned char buffer[64]);
16 | void SHA1Init(SHA1_CTX* context);
17 | void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int len);
18 | void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
19 | #endif _SHA1
20 |
--------------------------------------------------------------------------------
/XecretsFileCommon/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11 | #define _CRT_RAND_S
12 |
13 | // TODO: reference additional headers your program requires here
14 | #include
15 | #include
16 |
17 | #include
18 |
19 | #include "Oem.h"
20 | #include "AxCommon.h"
21 | #include "Types.h"
22 | #include "CAssert.h"
23 |
24 | #include "XecretsFileTexts.h"
--------------------------------------------------------------------------------
/Build/Config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Copyright © 2002-2025 Svante Seleborg/Axantum Software AB. All Rights Reserved.
4 | Axantum Software AB
5 | xecretsfileclassic
6 | GPL Xecrets File Classic
7 | Software\\Axantum\\AxCrypt
8 | AxDecrypt.exe
9 | XecretsFileClassic.exe
10 | Messages.dll
11 | ShellExt.dll
12 | XecretsFileClassic.ico
13 | https://www.axantum.com/
14 |
15 |
--------------------------------------------------------------------------------
/AxPortLib/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // The following macros define the minimum required platform. The minimum required platform
4 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 | // your application. The macros work by enabling all features available on platform versions up to and
6 | // including the version specified.
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
11 | #define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 |
--------------------------------------------------------------------------------
/XecretsFileCommon/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // The following macros define the minimum required platform. The minimum required platform
4 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 | // your application. The macros work by enabling all features available on platform versions up to and
6 | // including the version specified.
7 |
8 | #ifndef WINVER
9 | #define WINVER 0x0600 // Allow use of features specific to Windows Vista or later.
10 | #endif
11 |
12 | #ifndef _WIN32_WINNT
13 | #define _WIN32_WINNT 0x0600 // Allow use of features specific to Windows Vista or later.
14 | #endif
15 |
16 | #ifndef _WIN32_IE
17 | #define _WIN32_IE 0x0600 // Specifies that the minimum required platform is Internet Explorer 6.0.
18 | #endif
19 |
20 |
--------------------------------------------------------------------------------
/AxDecrypt/RelNotes.txt:
--------------------------------------------------------------------------------
1 | @(#) $Id$
2 |
3 | 1.6.3 2006-06-16
4 | Minor bug fixes and some OEM-additions.
5 |
6 | 1.6.2.3 2006-02-26
7 | Fixed a bug where it did not run on Windows 98.
8 |
9 | 1.6.2 2006-01-01
10 | See AxCrypt release notes
11 |
12 | 1.5.4 2004-08-28
13 | Simpler dialog for self decryption, and it now runs on NT4.
14 |
15 | 1.5.3 2004-06-28
16 | Save-As dialoge when entering an invalid directory added. More
17 | detailed error messages for system API call errors. Bug with
18 | empty passphrase but key-file fixed.
19 |
20 | 1.5.2 2004-05-05
21 | No actual code changes, recompile after restructuring.
22 |
23 | 1.5.1 2004-03-21
24 | Initial release. Version numbering follows AxCrypt. Supports decryption of AxCrypt-encrypted
25 | files, both as self-decrypting files where the AxCrypt file is appended, and also as a
26 | purely stand-alone program. Only supports English language. Does not modify the registry
27 | or the file system except to store decrypted files.
28 |
--------------------------------------------------------------------------------
/XecretsFileClassic/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // The following macros define the minimum required platform. The minimum required platform
4 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 | // your application. The macros work by enabling all features available on platform versions up to and
6 | // including the version specified.
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER
11 | #define WINVER 0x0600 // Allow use of features specific to Windows Vista or later.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT
15 | #define _WIN32_WINNT 0x0600 // Allow use of features specific to Windows Vista or later.
16 | #endif
17 |
18 | #ifndef _WIN32_IE
19 | #define _WIN32_IE 0x0600 // Specifies that the minimum required platform is Internet Explorer 6.0.
20 | #endif
21 |
--------------------------------------------------------------------------------
/AxWinLib/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // The following macros define the minimum required platform. The minimum required platform
4 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 | // your application. The macros work by enabling all features available on platform versions up to and
6 | // including the version specified.
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER
11 | #define WINVER 0x0600 // Allow use of features specific to Windows Vista or later.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT
15 | #define _WIN32_WINNT 0x0600 // Allow use of features specific to Windows Vista or later.
16 | #endif
17 |
18 | #ifndef _WIN32_IE
19 | #define _WIN32_IE 0x0600 // Specifies that the minimum required platform is Internet Explorer 6.0.
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/XecretsFileShellExt/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // The following macros define the minimum required platform. The minimum required platform
4 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 | // your application. The macros work by enabling all features available on platform versions up to and
6 | // including the version specified.
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER
11 | #define WINVER 0x0600 // Allow use of features specific to Windows Vista or later.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT
15 | #define _WIN32_WINNT 0x0600 // Allow use of features specific to Windows Vista or later.
16 | #endif
17 |
18 | #ifndef _WIN32_IE
19 | #define _WIN32_IE 0x0600 // Specifies that the minimum required platform is Internet Explorer 6.0.
20 | #endif
21 |
--------------------------------------------------------------------------------
/XecretsFileMessages/MessageCompiler.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 | Midl
6 | CustomBuild
7 |
8 |
9 | _SelectedFiles;$(MessageCompilerDependsOn)
11 |
12 |
13 |
14 | mc -u -U %(Filename)%(Extension) -r $(IntDir) -h "$(TargetDir)\"
15 | $(TargetDir)%(Filename).h;$(IntDir)%(Filename).rc
16 | Compiling Messages
17 |
18 |
19 |
--------------------------------------------------------------------------------
/AxDecrypt/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | /*! \file
2 | \brief AxDecrypt - Stand-alone Xecrets File Classic-decrypter and self-extractor.
3 |
4 | @(#) $Id$
5 |
6 | AxDecrypt - Stand-alone Xecrets File Classic-decrypter and self-extractor.
7 |
8 | Copyright (C) 2004-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
9 |
10 | This program is free software; you can redistribute it and/or modify it under the terms
11 | of the GNU General Public License as published by the Free Software Foundation;
12 | either version 2 of the License, or (at your option) any later version.
13 |
14 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 | See the GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License along with this program;
19 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 | Boston, MA 02111-1307 USA
21 |
22 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
23 | ----
24 | */
25 | #include "stdafx.h"
--------------------------------------------------------------------------------
/DependencyOrder/ReadMe.txt:
--------------------------------------------------------------------------------
1 | This project is only here to fix an issue with MSBUild / Visual Studio dependency ordering
2 | of projects.
3 |
4 | We have AxDecrypt which references XecretsFileCommon which references XecretsFileMessages.
5 |
6 | XecretsFileMessages must be built before XecretsFileCommon, becuase it produces the XecretsFileTexts.h
7 | header file, needed by XecretsFileCommon.
8 |
9 | The problem is that if we reference XecretsFileMessages from XecretsFileCommon, then Visual Studio or MSBuild
10 | get's the brilliant idea that it must add 'XecretsFileMessages.lib' to the linkage of AxDecrypt. There is
11 | no XecretsFileMessages.lib since it's a dll. I could not find a way to get it to do this right.
12 |
13 | The solution was to have XecretsFileCommon reference this dummy project (which is an .exe, not a .lib) and
14 | then have this project reference XecretsFileMessages.
15 |
16 | This appears to work from Visual Studio and MSBuild command line.
17 |
18 | Just ignore the executable output.
19 |
20 | (TODO - Remove the dependency on XecretsFileMessages from XecretsFileCommon - it won't work anyway since we
21 | don't distribute XecretsFileMessages with AxDecrypt....)
22 |
--------------------------------------------------------------------------------
/AxDecrypt/ChangeLog.txt:
--------------------------------------------------------------------------------
1 | @(#) $Id$
2 |
3 | 1.6.3 2006-06-16
4 | - Chg: Removed version string from 'Help'-dialog [OEM]
5 | - Bug: See AxCrypt change log
6 |
7 | 1.6.2.3 2006-02-26
8 | - Bug: Did not run on Windows 98
9 |
10 | 1.6.2 2006-01-01
11 | - All: See AxCrypt change log
12 |
13 | 1.5.4 2004-08-28
14 | - Bug: Did not run on NT4 due to missing GetLongPathName() there. [BUG 984161]
15 | - Chg: Simplified start dialog with 'More...' button. [RFE 1018128]
16 |
17 | 1.5.3 2004-06-28
18 | - Bug: Entering an invalid directory caused a failed assertion. [BUG 951862]
19 | - Bug: A key-file with an empty passphrase could not be decrypted. [BUG 968144]
20 | - Bug: A potential memory leak fixed. Non-critical. [INTERNAL]
21 | - Bug: Version number reported incorrectly on some OS's. [INTERNAL]
22 | - Chg: Prettier display of names on certain file systems due to short name mapping. [INTERNAL]
23 | - Chg: Updated AxPipe library to 0.9b7, errors include API message texts. [INTERNAL]
24 | - Doc: A very few minor documentation additions to remove doxygen warnings. [INTERNAL]
25 |
26 | 1.5.2 2004-05-05
27 | - Chg: None. Just a recompile.
28 |
29 | 1.5.1 2004-03-21
30 | - New: Initial release.
31 |
32 |
--------------------------------------------------------------------------------
/AxSigLib/stdafx.cpp:
--------------------------------------------------------------------------------
1 | /*! \file
2 | \brief AxSigLib - Short Elliptic Curve Digital Signature Algorithm et. al.
3 |
4 | @(#) $Id$
5 |
6 | Precompiled header generator.
7 |
8 | Copyright (C) 2005-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
9 |
10 | This program is free software; you can redistribute it and/or modify it under the terms
11 | of the GNU General Public License as published by the Free Software Foundation;
12 | either version 2 of the License, or (at your option) any later version.
13 |
14 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 | See the GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License along with this program;
19 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 | Boston, MA 02111-1307 USA
21 |
22 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
23 | ----
24 | */
25 |
26 | #include "stdafx.h"
27 |
28 | // TODO: reference any additional headers you need in STDAFX.H
29 | // and not in this file
--------------------------------------------------------------------------------
/SHA-1/SHA-1.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Source Files
23 |
24 |
25 |
26 |
27 | Header Files
28 |
29 |
30 |
--------------------------------------------------------------------------------
/AxPipe/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // When AxPipe is made portable, this Windows-stuff must be moved out of here. It's here right now
4 | // to enable code that uses AxPipe to "appear" portable, in that that code at least does not need to
5 | // define and include all this.
6 |
7 | // The following macros define the minimum required platform. The minimum required platform
8 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
9 | // your application. The macros work by enabling all features available on platform versions up to and
10 | // including the version specified.
11 |
12 | // Modify the following defines if you have to target a platform prior to the ones specified below.
13 | // Refer to MSDN for the latest info on corresponding values for different platforms.
14 | #ifndef WINVER
15 | #define WINVER 0x0600 // Allow use of features specific to Windows Vista or later.
16 | #endif
17 |
18 | #ifndef _WIN32_WINNT
19 | #define _WIN32_WINNT 0x0600 // Allow use of features specific to Windows Vista or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE
23 | #define _WIN32_IE 0x0600 // Specifies that the minimum required platform is Internet Explorer 6.0.
24 | #endif
25 |
26 |
--------------------------------------------------------------------------------
/AES/AES.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Source Files
23 |
24 |
25 |
26 |
27 | Header Files
28 |
29 |
30 |
--------------------------------------------------------------------------------
/AxSigLib/AxSigLib.h:
--------------------------------------------------------------------------------
1 | #ifndef AXSIGLIB_AXSIGLIB_H
2 | #define AXSIGLIB_AXSIGLIB_H
3 | /*! \file
4 | \brief AxSigLib - Main include file
5 |
6 | @(#) $Id$
7 |
8 | Copyright (C) 2001-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
9 |
10 | This program is free software; you can redistribute it and/or modify it under the terms
11 | of the GNU General Public License as published by the Free Software Foundation;
12 | either version 2 of the License, or (at your option) any later version.
13 |
14 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 | See the GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License along with this program;
19 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 | Boston, MA 02111-1307 USA
21 |
22 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
23 | ---
24 | */
25 |
26 | #include "../AxPortLib/ttchar.h"
27 | #include "../AxPortLib/strcvt.h"
28 | #include "../AxPortLib/ttstring.h"
29 |
30 | using namespace std;
31 | using namespace axpl;
32 |
33 | #endif
--------------------------------------------------------------------------------
/XecretsFileClassic/DlgLicense.h:
--------------------------------------------------------------------------------
1 | #ifndef DLGLICENSE_H
2 | #define DLGLICENSE_H
3 | /*
4 | @(#) $Id$
5 |
6 | Xecrets File Classic - Compressing and Encrypting Wrapper and Application Launcher for Secure Local,
7 | Server or Web Storage of Document Files.
8 |
9 | Copyright (C) 2004-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
10 |
11 | This program is free software; you can redistribute it and/or modify it under the terms
12 | of the GNU General Public License as published by the Free Software Foundation;
13 | either version 2 of the License, or (at your option) any later version.
14 |
15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 | See the GNU General Public License for more details.
18 |
19 | You should have received a copy of the GNU General Public License along with this program;
20 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 | Boston, MA 02111-1307 USA
22 |
23 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
24 | ----
25 | CLicMgr.h Manage licenses
26 | */
27 |
28 | extern ttstringpair GetLicenseeSignature(HWND hWnd);
29 | #endif
--------------------------------------------------------------------------------
/XecretsFileClassic/DlgRegistration.h:
--------------------------------------------------------------------------------
1 | #ifndef DLGREGISTRATION_H
2 | #define DLGREGISTRATION_H
3 | /*
4 | @(#) $Id$
5 |
6 | Xecrets File Classic - Compressing and Encrypting Wrapper and Application Launcher for Secure Local,
7 | Server or Web Storage of Document Files.
8 |
9 | Copyright (C) 2009-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
10 |
11 | This program is free software; you can redistribute it and/or modify it under the terms
12 | of the GNU General Public License as published by the Free Software Foundation;
13 | either version 2 of the License, or (at your option) any later version.
14 |
15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 | See the GNU General Public License for more details.
18 |
19 | You should have received a copy of the GNU General Public License along with this program;
20 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 | Boston, MA 02111-1307 USA
22 |
23 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
24 | ----
25 | CLicMgr.h Manage licenses
26 | */
27 |
28 | extern void AskForRegistration(HWND hWnd, std::wstring& sVersion);
29 | #endif
--------------------------------------------------------------------------------
/AxWinLib/GetModuleFilename.cpp:
--------------------------------------------------------------------------------
1 | #include "StdAfx.h"
2 |
3 | #define WIN32_LEAN_AND_MEAN ///< Exclude rarely-used stuff from Windows headers
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | /// \brief Get an allocated buffer with the fully qualified name of a module
10 | /// Get the fully qualified name of a module, but ensure that
11 | /// that it's in a dynamically allocated buffer of sufficient
12 | /// size. I see no real alterantive to the cut and try method
13 | /// below. Aargh.
14 | /// \param hModule The module handle or NULL for the current program
15 | /// \return An allocated buffer that needs to be free()'d. It may be NULL on error.
16 | _TCHAR *MyGetModuleFileName(HMODULE hModule) {
17 | size_t cbFileName = 0;
18 | _TCHAR *szFileName = NULL;
19 | size_t cbLen;
20 | do {
21 | _TCHAR *t = (_TCHAR *)realloc(szFileName, (cbFileName += MAX_PATH) * sizeof _TCHAR);
22 | if (!t) {
23 | free(szFileName);
24 | return NULL;
25 | }
26 | szFileName = t;
27 | cbLen = GetModuleFileName(hModule, szFileName, (DWORD)cbFileName);
28 | if (!cbLen) {
29 | free(szFileName);
30 | return NULL;
31 | }
32 | } while (cbLen >= (cbFileName - 1));
33 | return szFileName;
34 | }
--------------------------------------------------------------------------------
/XecretsFileCommon/Oem.h:
--------------------------------------------------------------------------------
1 | #ifndef _AXOEM
2 | #define _AXOEM
3 | /*
4 | @(#) $Id$
5 |
6 | Xecrets File Classic - Compressing and Encrypting Wrapper and Application Launcher for Secure Local,
7 | Server or Web Storage of Document Files.
8 |
9 | Copyright (C) 2012-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
10 |
11 | This program is free software; you can redistribute it and/or modify it under the terms
12 | of the GNU General Public License as published by the Free Software Foundation;
13 | either version 2 of the License, or (at your option) any later version.
14 |
15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 | See the GNU General Public License for more details.
18 |
19 | You should have received a copy of the GNU General Public License along with this program;
20 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 | Boston, MA 02111-1307 USA
22 |
23 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
24 | ----
25 | Oem.h Name definitions etc
26 | */
27 |
28 | #define AXPRODUCTFILENAME L"XecretsFileClassic"
29 | #define AXENCRYPTEDFILEEXT L".axx"
30 |
31 | #endif _AXOEM
--------------------------------------------------------------------------------
/AxSigLib/Base34.h:
--------------------------------------------------------------------------------
1 | #ifndef AXSIGLIB_BASE34_H
2 | #define AXSIGLIB_BASE34_H
3 | /*! \file
4 | \brief AxSigLib - Short Elliptic Curve Digital Signature Algorithm et. al.
5 |
6 | @(#) $Id$
7 |
8 | Encoding vectors for Base34.
9 |
10 | Copyright (C) 2001-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
11 |
12 | This program is free software; you can redistribute it and/or modify it under the terms
13 | of the GNU General Public License as published by the Free Software Foundation;
14 | either version 2 of the License, or (at your option) any later version.
15 |
16 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
17 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 | See the GNU General Public License for more details.
19 |
20 | You should have received a copy of the GNU General Public License along with this program;
21 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
22 | Boston, MA 02111-1307 USA
23 |
24 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
25 | ---
26 | */
27 |
28 | #include "BaseM.h"
29 |
30 | static const byte s_vecUpper[] = "ABCDEFGHIJKLMNPQRSTUVWXYZ123456789";
31 | static const byte s_vecLower[] = "abcdefghijklmnpqrstuvwxyz123456789";
32 |
33 | #endif
--------------------------------------------------------------------------------
/AES/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : AES Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this AES library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | AES.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | AES.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/SHA-1/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : SHA-1 Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this SHA-1 library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | SHA-1.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | SHA-1.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/AxPipe/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : AxPipe Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this AxPipe library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | AxPipe.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | AxPipe.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/XecretsFileShellExt/XecretsFileShellExt.manifest.Win32:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
9 | Xecrets File Classic - Axantum Shell Extension
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/XecretsFileShellExt/XecretsFileShellExt.manifest.x64:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
9 | Xecrets File Classic - Axantum Shell Extension
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/AxSigLib/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : AxSigLib Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this AxSigLib library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | AxSigLib.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | AxSigLib.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/AxWinLib/IStaticHyperlink.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | /*! \file
3 | \brief Create static hyper link in dialogbox
4 |
5 | @(#) $Id$
6 |
7 | Copyright (C) 2009-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
8 |
9 | This program is free software; you can redistribute it and/or modify it under the terms
10 | of the GNU General Public License as published by the Free Software Foundation;
11 | either version 2 of the License, or (at your option) any later version.
12 |
13 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
14 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | See the GNU General Public License for more details.
16 |
17 | You should have received a copy of the GNU General Public License along with this program;
18 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 | Boston, MA 02111-1307 USA
20 |
21 | The author may be reached at mailto:svante@axantum.com and http://wwww.axantum.com
22 | ----
23 | IStaticHyperlink.h
24 | */
25 | namespace awl {
26 | class IStaticHyperlink {
27 | public:
28 | static IStaticHyperlink& GetInstance();
29 | virtual bool EnableHyperlink(HWND hWndControl) = 0;
30 | virtual ~IStaticHyperlink() = 0;
31 | };
32 |
33 | BOOL ConvertStaticToHyperlink(HWND hwndCtl);
34 | BOOL ConvertStaticToHyperlink(HWND hwndParent, UINT uiCtlId);
35 | }
36 |
--------------------------------------------------------------------------------
/AxWinLib/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : AxWinLib Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this AxWinLib library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | AxWinLib.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | AxWinLib.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/AxPortLib/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : AxPortLib Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this AxPortLib library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | AxPortLib.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | AxPortLib.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/XecretsFileLib/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : XecretsFileLib Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this XecretsFileLib library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | XecretsFileLib.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | XecretsFileLib.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/XecretsFileCommon/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : XecretsFileCommon Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this XecretsFileCommon library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | XecretsFileCommon.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | XecretsFileCommon.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/XecretsFileWinLib/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : XecretsFileWinLib Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this XecretsFileWinLib library project for you.
6 |
7 | No source files were created as part of your project.
8 |
9 |
10 | XecretsFileWinLib.vcxproj
11 | This is the main project file for VC++ projects generated using an Application Wizard.
12 | It contains information about the version of Visual C++ that generated the file, and
13 | information about the platforms, configurations, and project features selected with the
14 | Application Wizard.
15 |
16 | XecretsFileWinLib.vcxproj.filters
17 | This is the filters file for VC++ projects generated using an Application Wizard.
18 | It contains information about the association between the files in your project
19 | and the filters. This association is used in the IDE to show grouping of files with
20 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the
21 | "Source Files" filter).
22 |
23 | /////////////////////////////////////////////////////////////////////////////
24 | Other notes:
25 |
26 | AppWizard uses "TODO:" comments to indicate parts of the source code you
27 | should add to or customize.
28 |
29 | /////////////////////////////////////////////////////////////////////////////
30 |
--------------------------------------------------------------------------------
/AxPipe/stdafx.cpp:
--------------------------------------------------------------------------------
1 | /*! \file
2 | \brief Standard Visual Studio Precompiled Header generator
3 |
4 | @(#) $Id$
5 |
6 | AxPipe - Binary Stream Framework
7 |
8 | Copyright (C) 2003-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
9 |
10 | This program is free software; you can redistribute it and/or modify it under the terms
11 | of the GNU General Public License as published by the Free Software Foundation;
12 | either version 2 of the License, or (at your option) any later version.
13 |
14 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 | See the GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License along with this program;
19 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 | Boston, MA 02111-1307 USA
21 |
22 | The author may be reached at mailto:axpipe@axondata.se and http://axpipe.sourceforge.net
23 |
24 | Why is this framework released as GPL and not LGPL? See http://www.gnu.org/philosophy/why-not-lgpl.html
25 |
26 | ----
27 | \verbatim
28 | stdafx.cpp Standard Visual Studio Precompiled Header generator
29 |
30 | E-mail YYYY-MM-DD Reason
31 | axpipe@axondata.se 2003-11-23 Initial
32 | \endverbatim
33 | */
34 | #include "stdafx.h"
--------------------------------------------------------------------------------
/XecretsFileShellExt/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | DYNAMIC LINK LIBRARY : XecretsFileShellExt Project Overview
3 | ========================================================================
4 |
5 | AppWizard has created this XecretsFileShellExt DLL for you.
6 |
7 | This file contains a summary of what you will find in each of the files that
8 | make up your XecretsFileShellExt application.
9 |
10 |
11 | XecretsFileShellExt.vcproj
12 | This is the main project file for VC++ projects generated using an Application Wizard.
13 | It contains information about the version of Visual C++ that generated the file, and
14 | information about the platforms, configurations, and project features selected with the
15 | Application Wizard.
16 |
17 | XecretsFileShellExt.cpp
18 | This is the main DLL source file.
19 |
20 | /////////////////////////////////////////////////////////////////////////////
21 | Other standard files:
22 |
23 | StdAfx.h, StdAfx.cpp
24 | These files are used to build a precompiled header (PCH) file
25 | named XecretsFileShellExt.pch and a precompiled types file named StdAfx.obj.
26 |
27 | /////////////////////////////////////////////////////////////////////////////
28 | Other notes:
29 |
30 | AppWizard uses "TODO:" comments to indicate parts of the source code you
31 | should add to or customize.
32 |
33 | /////////////////////////////////////////////////////////////////////////////
34 |
--------------------------------------------------------------------------------
/XecretsFileClassic/CSha1.h:
--------------------------------------------------------------------------------
1 | #ifndef _CSHA1
2 | #define _CSHA1
3 | /*
4 | @(#) $Id$
5 |
6 | Xecrets File Classic - Compressing and Encrypting Wrapper and Application Launcher for Secure Local,
7 | Server or Web Storage of Document Files.
8 |
9 | Copyright (C) 2001-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
10 |
11 | This program is free software; you can redistribute it and/or modify it under the terms
12 | of the GNU General Public License as published by the Free Software Foundation;
13 | either version 2 of the License, or (at your option) any later version.
14 |
15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 | See the GNU General Public License for more details.
18 |
19 | You should have received a copy of the GNU General Public License along with this program;
20 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 | Boston, MA 02111-1307 USA
22 |
23 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
24 | ----
25 | CSha1.h Special purpose wrapper for Steve Reids SHA-1 code.
26 |
27 | E-mail YYYY-MM-DD Reason
28 | support@axantum.com 2001 Initial
29 |
30 | */
31 | extern "C" {
32 | #include "../SHA-1/sha1.h"
33 | }
34 |
35 | class CSha1 {
36 | SHA1_CTX* m_putContext;
37 | public:
38 | CSha1();
39 | ~CSha1();
40 | TKey* GetKeyHash(BYTE* poMsg, size_t iLen, TCHAR* szFileName = NULL);
41 | };
42 | #endif _CSHA1
--------------------------------------------------------------------------------
/XecretsFileCommon/XecretsFileGUID.h:
--------------------------------------------------------------------------------
1 | /*
2 | @(#) $Id$
3 |
4 | Xecrets File Classic - Compressing and Encrypting Wrapper and Application Launcher for Secure Local,
5 | Server or Web Storage of Document Files.
6 |
7 | Copyright (C) 2001-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
8 |
9 | This program is free software; you can redistribute it and/or modify it under the terms
10 | of the GNU General Public License as published by the Free Software Foundation;
11 | either version 2 of the License, or (at your option) any later version.
12 |
13 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
14 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | See the GNU General Public License for more details.
16 |
17 | You should have received a copy of the GNU General Public License along with this program;
18 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 | Boston, MA 02111-1307 USA
20 |
21 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
22 | ----
23 | XecretsFileGUID.h The name says it all.
24 |
25 | E-mail YYYY-MM-DD Reason
26 | support@axantum.com 2001 Initial
27 |
28 | */
29 | //
30 | // The XECRETS FILE GUID, this is _ONLY_ used to mark the file header!
31 | //
32 | // 2E07B9C0-934F-46F1-A015-792CA1D9E821
33 | //
34 | DEFINE_GUID(guidAxCryptFileId,
35 | 0x2e07b9c0,
36 | 0x934f,
37 | 0x46f1,
38 | 0xa0, 0x15, 0x79, 0x2c, 0xa1, 0xd9, 0xe8, 0x21
39 | );
--------------------------------------------------------------------------------
/XecretsFileShellExt/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by XecretsFileShellExt.rc
4 | //
5 | #define MANIFEST_RESOURCE_ID 2
6 | #define IDD_DIALOG1 101
7 | #define IDD_PROPSHEETPAGE 101
8 | #define IDD_PROGRESS 103
9 | #define IDD_BRUTEFORCE 104
10 | #define IDD_ABOUT 106
11 | #define IDB_XECRETSFILE 107
12 | #define IDC_ABOUT 1000
13 | #define IDC_ENC_LEAD 1001
14 | #define IDC_COMP_LEAD 1002
15 | #define IDC_AUTH_LEAD 1003
16 | #define IDC_ENC 1004
17 | #define IDC_COMP 1005
18 | #define IDC_AUTH 1006
19 | #define IDC_ABOUT_GROUP 1007
20 | #define IDC_RAND_LEAD 1008
21 | #define IDC_BRUTEFORCE 1008
22 | #define IDC_RAND 1009
23 | #define IDC_LISTABOUT 1009
24 | #define IDC_BTN_NOTIFY 1010
25 | #define IDC_BTN_DOCS 1011
26 | #define IDC_INF_ABOUT 1013
27 |
28 | // Next default values for new objects
29 | //
30 | #ifdef APSTUDIO_INVOKED
31 | #ifndef APSTUDIO_READONLY_SYMBOLS
32 | #define _APS_NEXT_RESOURCE_VALUE 108
33 | #define _APS_NEXT_COMMAND_VALUE 40001
34 | #define _APS_NEXT_CONTROL_VALUE 1015
35 | #define _APS_NEXT_SYMED_VALUE 101
36 | #endif
37 | #endif
38 |
--------------------------------------------------------------------------------
/AxWinLib/VistaOrLater.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | /*! \file
3 | \brief Support routines for Vista or later
4 |
5 | @(#) $Id$
6 |
7 | Various things that are special for Vista or later
8 |
9 | Copyright (C) 2006-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
10 |
11 | This program is free software; you can redistribute it and/or modify it under the terms
12 | of the GNU General Public License as published by the Free Software Foundation;
13 | either version 2 of the License, or (at your option) any later version.
14 |
15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 | See the GNU General Public License for more details.
18 |
19 | You should have received a copy of the GNU General Public License along with this program;
20 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 | Boston, MA 02111-1307 USA
22 |
23 | The author may be reached at mailto:svante@axantum.com and http://wwww.axantum.com
24 | ----
25 | VistaOrLater.h
26 | */
27 | namespace awl {
28 | extern bool IsVistaOrLater(); ///< Determine if we're running Vista or later
29 | extern bool NeedsAndCanElevateOnVista(); ///< Determine if we need and can elevate to admin rights
30 | extern bool IsAdminOnVista(); ///< Are we running as admin one way or another on Vista?
31 | extern bool RelaunchElevatedOnVista(DWORD* pdwReturnCode, HWND hWnd = NULL, int nShowCmd = SW_SHOWNORMAL); ///< Actually elevate on Vista
32 | }
33 |
--------------------------------------------------------------------------------
/AxSigLib/stdafx.h:
--------------------------------------------------------------------------------
1 | #ifndef AXSIGLIB_STDAFX_H
2 | #define AXSIGLIB_STDAFX_H
3 | /*! \file
4 | \brief AxSigLib - Short Elliptic Curve Digital Signature Algorithm et. al.
5 |
6 | @(#) $Id$
7 |
8 | Common includes for the library.
9 |
10 | Copyright (C) 2001-2025 Svante Seleborg/Axantum Software AB. All rights reserved.
11 |
12 | This program is free software; you can redistribute it and/or modify it under the terms
13 | of the GNU General Public License as published by the Free Software Foundation;
14 | either version 2 of the License, or (at your option) any later version.
15 |
16 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
17 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 | See the GNU General Public License for more details.
19 |
20 | You should have received a copy of the GNU General Public License along with this program;
21 | if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
22 | Boston, MA 02111-1307 USA
23 |
24 | The author may be reached at mailto:support@axantum.com and http://www.axantum.com
25 | ---
26 | */
27 |
28 | #include "targetver.h"
29 |
30 | #ifdef _MSC_VER
31 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
32 | #endif
33 |
34 | // TODO: reference additional headers your program requires here
35 | #ifdef _MSC_VER
36 | #include
37 | #endif
38 |
39 | #include
40 | #include