removed warnings from sphinx

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@612 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-11-03 20:08:43 +00:00
parent eb09c1d8a1
commit 9f68d18eef
2 changed files with 10 additions and 9 deletions

View File

@@ -287,14 +287,13 @@ class SAM(object):
def _get_referenced_key(self, p1, p2): def _get_referenced_key(self, p1, p2):
""" """
This method returns the key specified by the p2 parameter. The key may be This method returns the key specified by the p2 parameter. The key may
stored on the cards filesystem. be stored on the cards filesystem.
:param p1: Specifies the algorithm to use. Needed to know the keylength. :param p1: Specifies the algorithm to use. Needed to know the keylength.
:param p2: :param p2: Specifies a reference to the key to be used for encryption
Specifies a reference to the key to be used for encryption == == == == == == == == =============================================
b8 b7 b6 b5 b4 b3 b2 b1 Meaning b8 b7 b6 b5 b4 b3 b2 b1 Meaning
== == == == == == == == ============================================= == == == == == == == == =============================================
0 0 0 0 0 0 0 0 No information is given 0 0 0 0 0 0 0 0 No information is given
@@ -302,7 +301,8 @@ class SAM(object):
1 - - - - - - - Specific reference data(e.g. DF specific key) 1 - - - - - - - Specific reference data(e.g. DF specific key)
- - - x x x x x Number of the secret - - - x x x x x Number of the secret
== == == == == == == == ============================================= == == == == == == == == =============================================
Any other value RFU
Any other value RFU
""" """
key = None key = None

View File

@@ -158,6 +158,7 @@ class APDU(object):
The keyword arguments can then be used to override those values. The keyword arguments can then be used to override those values.
Keywords recognized are: Keywords recognized are:
- C_APDU: cla, ins, p1, p2, lc, le, data - C_APDU: cla, ins, p1, p2, lc, le, data
- R_APDU: sw, sw1, sw2, data - R_APDU: sw, sw1, sw2, data
""" """