X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=9c4da4ec76b94b3561581453e2b981fa18e14ad3;hp=9a8ccddfa319df841e98a94ac4950f9b6f308c3d;hb=d9166320d60c60c2f188464c83c82547e6c4d037;hpb=e7a4b259f8cd580f52160c17842d797fc3ddf7dc diff --git a/pyderasn.py b/pyderasn.py index 9a8ccdd..9c4da4e 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -3492,7 +3492,8 @@ class UTF8String(CommonString): class NumericString(CommonString): """Numeric string - Its value is properly sanitized: only ASCII digits can be stored. + Its value is properly sanitized: only ASCII digits with spaces can + be stored. """ __slots__ = () tag_default = tag_encode(18) @@ -3508,6 +3509,10 @@ class NumericString(CommonString): class PrintableString(CommonString): + """Printable string + + Its value is properly sanitized: see X.680 41.4 table 10. + """ __slots__ = () tag_default = tag_encode(19) encoding = "ascii"