X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=172c1f6474705de88d59918be509c1658a79e0aa;hp=c83b4393037e180c943c6e72decb9509b188a097;hb=9c7c8907058265e037945fd96c77aeceb4902623;hpb=b463f3abfb403f65131b9e5f5b78d7744a4d5844 diff --git a/pyderasn.py b/pyderasn.py index c83b439..172c1f6 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -463,6 +463,10 @@ NumericString _____________ .. autoclass:: pyderasn.NumericString +PrintableString +_______________ +.. autoclass:: pyderasn.PrintableString + UTCTime _______ .. autoclass:: pyderasn.UTCTime @@ -3579,7 +3583,7 @@ class NumericString(AllowableCharsMixin, CommonString): be stored. >>> NumericString().allowable_chars - set(['3', '4', '7', '5', '1', '0', '8', '9', ' ', '6', '2']) + frozenset(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ' ']) """ __slots__ = () tag_default = tag_encode(18) @@ -3600,7 +3604,7 @@ class PrintableString(AllowableCharsMixin, CommonString): Its value is properly sanitized: see X.680 41.4 table 10. >>> PrintableString().allowable_chars - >>> set([' ', "'", ..., 'z']) + frozenset([' ', "'", ..., 'z']) """ __slots__ = () tag_default = tag_encode(19) @@ -3664,7 +3668,7 @@ class UTCTime(CommonString): .. warning:: - No BER encodings are supported. Only DER. + BER encoding is unsupported. """ __slots__ = () tag_default = tag_encode(23) @@ -3818,7 +3822,7 @@ class GeneralizedTime(UTCTime): .. warning:: - No BER encodings are supported. Only DER. + BER encoding is unsupported. .. warning::