Minor fixes to sphinx markup

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@609 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2011-11-02 19:33:53 +00:00
parent 469d23aa11
commit db529bebed
2 changed files with 9 additions and 9 deletions

View File

@@ -37,10 +37,10 @@ class ControlReferenceTemplate:
""" """
Generates a new CRT Generates a new CRT
:param tag: Indicates the type of the CRT (HT, AT, KT, CCT, DST, CT-sym, \ :param tag: Indicates the type of the CRT (HT, AT, KT, CCT, DST, CT-sym,
CT-asym) CT-asym)
:param config: A string containing TLV encoded Security Environment \ :param config: A string containing TLV encoded Security Environment
parameters parameters
""" """
if tag not in (CRT_TEMPLATE["AT"], CRT_TEMPLATE["HT"], if tag not in (CRT_TEMPLATE["AT"], CRT_TEMPLATE["HT"],
CRT_TEMPLATE["KAT"], CRT_TEMPLATE["CCT"], CRT_TEMPLATE["KAT"], CRT_TEMPLATE["CCT"],
@@ -65,7 +65,7 @@ class ControlReferenceTemplate:
""" """
Parse a control reference template as given e.g. in an MSE APDU. Parse a control reference template as given e.g. in an MSE APDU.
:param config : a TLV string containing the configuration for the CRT. :param config: a TLV string containing the configuration for the CRT.
""" """
structure = unpack(config) structure = unpack(config)

View File

@@ -16,10 +16,10 @@
# You should have received a copy of the GNU General Public License along with # You should have received a copy of the GNU General Public License along with
# virtualsmartcard. If not, see <http://www.gnu.org/licenses/>. # virtualsmartcard. If not, see <http://www.gnu.org/licenses/>.
# #
"""
TODO: use bertlv_pack for fdm #TODO: use bertlv_pack for fdm
TODO: zu lange daten abschneiden und trotzdem tlv laenge beibehalten #TODO: zu lange daten abschneiden und trotzdem tlv laenge beibehalten
"""
from pickle import dumps, loads from pickle import dumps, loads
import logging import logging
from virtualsmartcard.ConstantDefinitions import DCB, FDB, FID, LCB, REF from virtualsmartcard.ConstantDefinitions import DCB, FDB, FID, LCB, REF