]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - pyderasn.py
Explicit mention that *Time do not support BER
[pyderasn.git] / pyderasn.py
index 2c3ec76a503d20eb41624fb8a6265f4313d3b94b..c83b4393037e180c943c6e72decb9509b188a097 100755 (executable)
@@ -3661,6 +3661,10 @@ class UTCTime(CommonString):
     datetime.datetime(2017, 9, 30, 22, 7, 50)
     >>> UTCTime(datetime(2057, 9, 30, 22, 7, 50)).todatetime()
     datetime.datetime(1957, 9, 30, 22, 7, 50)
+
+    .. warning::
+
+       No BER encodings are supported. Only DER.
     """
     __slots__ = ()
     tag_default = tag_encode(23)
@@ -3812,6 +3816,10 @@ class GeneralizedTime(UTCTime):
     >>> t = GeneralizedTime(datetime(2057, 9, 30, 22, 7, 50))
     GeneralizedTime GeneralizedTime 2057-09-30T22:07:50
 
+    .. warning::
+
+       No BER encodings are supported. Only DER.
+
     .. warning::
 
        Only microsecond fractions are supported.