예제 #1
0
    def reset(self):
        # type: () -> int
        """Set the bio to its initial state.

        :return: 1 for success, and 0 or -1 for failure
        """
        return m2.bio_reset(self.bio)
예제 #2
0
파일: BIO.py 프로젝트: mcepl/M2Crypto
    def reset(self):
        # type: () -> int
        """Set the bio to its initial state.

        :return: 1 for success, and 0 or -1 for failure
        """
        return m2.bio_reset(self.bio)
예제 #3
0
파일: BIO.py 프로젝트: rodrigc/m2crypto
 def reset(self):
     """
     Sets the bio to its initial state
     """
     return m2.bio_reset(self.bio)
예제 #4
0
 def reset(self):
     """
     Sets the bio to its initial state
     """
     return m2.bio_reset(self.bio)