PyKCS11/__init__.py
def seedRandom(self, seed):
        """
        C_SeedRandom

        :param seed: seed material
        :type seed: iterable
        """
        low_seed = ckbytelist(seed)
        rv = self.lib.C_SeedRandom(self.session, low_seed)
        if rv != CKR_OK:
            raise PyKCS11Error(rv)
def seedRandom(self, seed):
        """
        C_SeedRandom

        :param seed: seed material
        :type seed: iterable
        """
        low_seed = ckbytelist(seed)
        rv = self.lib.C_SeedRandom(self.session, low_seed)
        if rv != CKR_OK:
            raise PyKCS11Error(rv)
def seedRandom ( self , seed ) : low_seed = ckbytelist ( seed ) rv = self . lib . C_SeedRandom ( self . session , low_seed ) if rv != CKR_OK : raise PyKCS11Error ( rv )
C_SeedRandom

        :param seed: seed material
        :type seed: iterable
C_SeedRandom