diff options
Diffstat (limited to 'src/Common/Token.h')
-rw-r--r-- | src/Common/Token.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Token.h b/src/Common/Token.h index c1dd8ac4..959c7e24 100644 --- a/src/Common/Token.h +++ b/src/Common/Token.h @@ -14,48 +14,48 @@ #include <string> #define UNAVAILABLE_SLOT ~0UL namespace VeraCrypt { struct TokenKeyfilePath { virtual ~TokenKeyfilePath() {}; TokenKeyfilePath(const wstring& path): Path(path) { } operator wstring () const { return Path; } wstring Path; // Complete path }; struct TokenInfo { TokenInfo(): SlotId(0), Label(L"") {} virtual ~TokenInfo() {} virtual BOOL isEditable() const = 0; unsigned long int SlotId; wstring Label; // Card name }; struct TokenKeyfile { virtual ~TokenKeyfile() {} virtual operator TokenKeyfilePath () const = 0; - virtual void GetKeyfileData(vector <byte>& keyfileData) const = 0; + virtual void GetKeyfileData(vector <uint8>& keyfileData) const = 0; shared_ptr<TokenInfo> Token; wstring Id; }; class Token { public: - static vector<shared_ptr<TokenKeyfile>> GetAvailableKeyfiles(bool isEMVSupportEnabled); + static vector< shared_ptr<TokenKeyfile> > GetAvailableKeyfiles(bool isEMVSupportEnabled); static bool IsKeyfilePathValid(const wstring& tokenKeyfilePath, bool isEMVSupportEnabled); - static list <shared_ptr<TokenInfo>> GetAvailableTokens(); + static list < shared_ptr<TokenInfo> > GetAvailableTokens(); static shared_ptr<TokenKeyfile> getTokenKeyfile(const TokenKeyfilePath& path); }; }; #endif //TC_HEADER_Common_Token |