#NEWLINE# def set_notAfter( self , when ) : #NEWLINE# #INDENT# '\n        Set the time stamp for when the certificate stops being valid\n\n        :param when: A string giving the timestamp, in the format:\n\n                         YYYYMMDDhhmmssZ\n                         YYYYMMDDhhmmss+hhmm\n                         YYYYMMDDhhmmss-hhmm\n        :type when: :py:class:`bytes`\n\n        :return: None\n        ' #NEWLINE# return self . _set_boundary_time ( _lib . X509_get_notAfter , self )