def set_critical(self, critical=1): """ Mark this extension critical or noncritical. By default an extension is not critical. @type critical: int @param critical: Nonzero sets this extension as critical. Calling this method without arguments will set this extension to critical. """ return m2.x509_extension_set_critical(self.x509_ext, critical)
def set_critical(self, critical=1): # type: (int) -> int """ Mark this extension critical or noncritical. By default an extension is not critical. :param critical: Nonzero sets this extension as critical. Calling this method without arguments will set this extension to critical. :return: 1 for success, 0 for failure """ return m2.x509_extension_set_critical(self.x509_ext, critical)