VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Translations/Language.it.xml
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-28 00:29:20 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-28 00:30:40 +0100
commit1ca60754b2f47ecc18cba87f285aec60222e6a04 (patch)
tree7c6bd9da3cba874edcb0f7a27a677a0f1d7d907e /Translations/Language.it.xml
parentf63e34e0f96905a2010f411f63910e65f6c694e4 (diff)
downloadVeraCrypt-1ca60754b2f47ecc18cba87f285aec60222e6a04.tar.gz
VeraCrypt-1ca60754b2f47ecc18cba87f285aec60222e6a04.zip
Language XML file: correct errors in some English texts.
Diffstat (limited to 'Translations/Language.it.xml')
0 files changed, 0 insertions, 0 deletions
r { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef TC_HEADER_Common_EMVCard
#define TC_HEADER_Common_EMVCard

#include "Platform/PlatformBase.h"
#if defined (TC_WINDOWS) && !defined (TC_PROTOTYPE)
#	include "Exception.h"
#else
#	include "Platform/Exception.h"
#endif

#include "Token.h"
#include "SCard.h"

namespace VeraCrypt
{
    typedef enum EMVCardType
	{
		NONE = 0,
		AMEX,
		MASTERCARD,
		VISA
	} EMVCardType;

	class EMVCard : public SCard
	{
    protected:

        // The following fields will only be empty if the card has not been read yet.
        // After the card has been read, and if some or all fields cannot be read, the EMVCard
        // object will be considered invalid and will not be included in the list of available cards
        // of EMVToken.
        vector<byte> m_aid;
        vector<vector<byte>> m_supportedAids;
        vector<byte> m_iccCert;
        vector<byte> m_issuerCert;
        vector<byte> m_cplcData;
        wstring m_lastPANDigits;

	public:

        // Add other AIDS
		// https://gist.github.com/pvieito/6224eed92c99b069f6401996c548d0e4
		// https://ambimat.com/developer-resources/list-of-application-identifiers-aid/
		const static byte AMEX_AID[7];
		const static byte MASTERCARD_AID[7];
		const static byte VISA_AID[7];
		const static map<EMVCardType, vector<byte>> SUPPORTED_AIDS;

        EMVCard();
		EMVCard(size_t slotId);
        EMVCard(const EMVCard& other);
		EMVCard(EMVCard&& other);
		EMVCard& operator = (const EMVCard& other);
		EMVCard& operator = (EMVCard&& other);
        virtual ~EMVCard();

        void Clear(void);

		// Retrieves the card's AID.
		// It first checks the card against a list of supported AIDs.
		// If that fails, it tries getting the AID from the card using PSE
		vector<byte> GetCardAID(bool forceContactless = false);

		void GetCardContent(vector<byte>& iccCert, vector<byte>& issuerCert, vector<byte>& cplcData);
		void GetCardPAN(wstring& lastPANDigits);
	};
}

#endif // TC_HEADER_Common_EMVCard