From 07af155110f8df1f108f155a05509b49a1b893da Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Fri, 9 Dec 2011 10:54:12 +0000 Subject: [PATCH] dont throw an error on mse:set at. using source code, which was priviously deleted. git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@656 96b47cad-a561-4643-ad3b-153ac7d7599c --- .../src/vpicc/virtualsmartcard/cards/nPA.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/cards/nPA.py b/virtualsmartcard/src/vpicc/virtualsmartcard/cards/nPA.py index 8f293fd..9a8f65c 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/cards/nPA.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/cards/nPA.py @@ -39,6 +39,18 @@ class nPA_AT_CRT(ControlReferenceTemplate): print(chat) elif tag == 0x67: auxiliary_data = value + elif tag == 0x80: + mechanism = value + # TODO handle security environment + elif tag == 0x83: + pub_key = value + # TODO handle security environment + elif tag == 0x84: + priv_key = value + # TODO handle security environment + elif tag == 0x91: + eph_key = value + # TODO handle security environment else: raise SwError(SW["ERR_REFNOTUSABLE"])